Re: automount usbpen

Javier Vasquez <[email protected]> Sun, 21 Feb 2016 22:07:23 -0600
Newsgroups gmane.comp.window-managers.fluxbox.user
Message-ID <CALUrRGerFS4GrnOwTqKCsrXck+jQELUYUBwibwURr4UYCb_zMQ@mail.gmail.com>
> On Sun, Feb 21, 2016 at 8:34 PM, Bob Hepple <[email protected]> wrote:
> It's not a fluxbox thing, but you can try autofs:
>
> dnf install autofs
> # put lines like this in /etc/auto.misc:
> usbpen   --fstype=auto :/dev/sdb1
>
> # then
> systemctl enable autofs
> systemctl restart autofs
> ls /misc/usbpen
>
> # soft links help with tab-completion on the command line:
> ln -s /misc/usbpen /mnt/usbpen
> ls /mnt/usbpen
>
> I'm sure there are more modern desktoppy ways to do it, but that works well
> for me.
>
>
> Cheers
>
>
> Bob
>
>
> On 19 February 2016 at 02:39, Massimo Canonico <[email protected]> wrote:
>>
>> Hi all,
>> I've always added to my /etc/fstab file the following line in order to
>> mount usbpen and sdcard:
>>
>> /dev/sdb1               /mnt/usbpen             vfat
>> noauto,noatime,user     0 0
>> /dev/sdc1               /mnt/usbpen2             vfat
>> noauto,noatime,user     0 0
>> /dev/mmcblk0p1          /mnt/sdcard             auto
>> noauto,noatime,user     0 0
>>
>> I am wondering if  fluxbox is able to automount usbpen and if yes, how
>> can I set it up?
>>
>> I'm using a fedora 23.
>>
>> Thanks,
>> Massimo

I'm using autofs for everything I know (included usb known devices).
To me it's cleaner, lighter and it not only automounts, it also auto
unmounts, :-)  So no rival when you know what you're mounting.  It
plays nice not just with usb devices, also does a great thing with
gphotofs, sshfs, gdrivefs and others...

For things I don't know beforehand, neither the partitioning scheme, I
use udiskie with udisks2 (also dunst).  It's written in python, but
it's light and fast enough for me.  It provides a system tray which
comes in handy to unmount and explore devices.

--
Javier

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140