Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I'm having some trouble here. I have a FAT32 drive on USB, that I want to mount and share via Samba.
I can't figure out how to mount it for world read/write privs:
~ # /bin/mount -t vfat /dev/sdc1 /mnt/HD_a2/-\=USB-sdc1\=-/ -o gid=501,uid=501,umask=0000 ~ # ls -la /mnt/HD_a2/-\=USB-sdc1\=-/ drwxr-xr-x 8 root 0 32768 Aug 30 21:09 . drwxrwxrwx 53 root 0 4096 Aug 30 20:40 .. ~ #cd /mnt/HD_a2/-\=USB-sdc1\=- /mnt/HD_a2/-=USB-sdc1=- # /bin/mount ... /dev/sdc1 on /mnt/HD_a2/-=USB-sdc1=- type vfat (rw,gid=501,uid=501,umask=0000) /mnt/HD_a2/-=USB-sdc1=- # mount ... /dev/sdc1 on /mnt/HD_a2/-=USB-sdc1=- type vfat (rw,nodiratime,fmask=0022,dmask=0022,codepage=default,iocharset=default)
It seems that the busybox mount module doesn't agree with the linksys binary. And it seems tat no matter what mount options I pass on the CLI, it always mounts with an 0022 umask.
Offline
Interesting. When I use /bin/mount (linksys busybox 1.0) to mount the fs via a funplug scrip upon initial boot, it works perfectly.
Manually mounting the fs via ssh (running fun_plug busybox 1.6.1) causes the behaviour noted im my previous post above.
Now, I get this:
~ # /mnt/HD_a2/fun_plug.d/bin/mount rootfs on / type rootfs (rw) /dev/root on / type ext2 (rw) proc on /proc type proc (rw,nodiratime) /dev/loop0 on /sys/crfs type cramfs (ro) /dev/md0 on /mnt/HD_a2 type ext2 (rw) none on /proc/bus/usb type usbdevfs (rw) devpts on /dev/pts type devpts (rw) proc on /mnt/HD_a2/linux/proc type proc (rw,nodiratime) /dev/sdc1 on /mnt/HD_a2/-=USB-sdc1=- type vfat (rw,nodiratime,uid=502,gid=501,fmask=0000,dmask=0000,codepage=default,iocharset=default) ~ # /bin/mount %root% on / type unknown (rw) proc on /proc type proc (rw) /image.cfs on /sys/crfs type cramfs (rw,loop=/dev/loop0) /dev/md0 on /mnt/HD_a2 type ext2 (rw,usrquota,grpquota) none on /proc/bus/usb type usbdevfs (rw ~ # cat /proc/mounts rootfs / rootfs rw 0 0 /dev/root / ext2 rw 0 0 proc /proc proc rw,nodiratime 0 0 /dev/loop0 /sys/crfs cramfs ro 0 0 /dev/md0 /mnt/HD_a2 ext2 rw 0 0 none /proc/bus/usb usbdevfs rw 0 0 devpts /dev/pts devpts rw 0 0 proc /mnt/HD_a2/linux/proc proc rw,nodiratime 0 0 /dev/sdc1 /mnt/HD_a2/-=USB-sdc1=- vfat rw,nodiratime,uid=502,gid=501,fmask=0000,dmask=0000,codepage=default,iocharset=default 0 0 ~ #
Last edited by prosper (2007-08-31 07:38:42)
Offline