Talk:USBDisks

From SME Server
Revision as of 02:37, 26 October 2007 by Snoble (talk | contribs)
Jump to navigationJump to search

support for ntfs does exist,
http://www.ntfs-3g.org/
http://marush.com/category/linux/rpm/rhel4/

But it may be simpler after we reach kernel 2.6.12 when FUSE support is included in the kernel.
If ntfs is going to fail everytime a kernel is upgraded it's too much hassle
http://fuse.sourceforge.net/wiki/index.php/OperatingSystems

Snoble 08:17, 25 October 2007 (MDT)


automount USB Disk, Draft instructions,
the best location to mount and best mount options need to be decided [actually, this doesn't use the LABEL method so will work best if you only use one disk and plug it into the same usb port :-(]

refer http://arstechnica.com/articles/columns/linux/linux-20040211.ars bottom of page.

yum install autofs

nano -w /etc/auto.master
add 
/var/autofs/removable   /etc/auto.removable     --timeout=5

nano -w /etc/auto.removable
add
cdrom     -fstype=iso9660,ro,sync,nodev,nosuid      :/dev/cdrom
floppy    -fstype=auto,sync,nodev,nosuid            :/dev/fd0
MaxExt3   -fstype=ext3,defaults                     :/dev/sda1
MaxVfat   -fstype=vfat,uid=1002,gid=1002,umask=002  :/dev/sda2

mkdir -p /var/autofs/removable 

/etc/init.d/autofs restart

ll /var/autofs/removable/MaxVfat/
-rwxrwxr-x  1 smelog smelog  79811 Oct 25 23:04 fuse-2.6.3-3.EL4.i686.rpm

ll /var/autofs/removable/cdrom
dr-xr-xr-x    3 root root  2048 Jun 17 12:11 home
dr-xr-xr-x  618 root root 77824 Oct 25 05:04 rr_moved

 ll /var/autofs/removable/MaxExt3
-rw-r--r--  1 root root     10 Oct 26 00:58 join

Snoble 09:03, 25 October 2007 (MDT)