USB Mount

From Noah.org
Revision as of 16:24, 10 May 2010 by Root (talk | contribs) (Created page with 'Category: Engineering <pre> aptitude -q -y install usbmount # Set default name of first drive to 'usb-drive'; # add ext4 to list of filesystems supported. sed -i -e "s#/med…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


aptitude -q -y install usbmount
# Set default name of first drive to 'usb-drive'; 
# add ext4 to list of filesystems supported.
sed -i -e "s#/media/usb0#/media/usb-drive /media/usb0#" \
       -e "s/^.*FILESYSTEMS=.*/FILESYSTEMS=\"vfat ext2 ext3 ext4\"/" \
        /etc/usbmount/usbmount.conf
/etc/init.d/udev stop
/etc/init.d/udev start