Results 1 to 10 of 11
My fstab currently has *NO* references to usb, except for one line: Code: usbfs proc/bus/usb usbfs noauto 0 0 Under suse 10.1, my usb mounts automatically whenever I plug it ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-28-2006 #1
how can I change mount point of usb-flash drive?
usbfs proc/bus/usb usbfs noauto 0 0
How do i go about changing this with pure command line? Is there a specific file I should edit? Which one(s)?
- 11-28-2006 #2
check the contents of /etc/mtab file.
- 11-28-2006 #3
> view /etc/mtab
..... /dev/sda1 /media/usbdisk vfat rw,nosuid,nodev,noatime,flush,uid=10000,utf8,shortname=lower 0 0 ...
- 11-28-2006 #4
well ! in this file, change the mount point '/media/usbdisk' with the one you want.
- 11-28-2006 #5
I wasn't sure - lol. I must look stupid now. I thought that changing anything in mtab wasn't permanent. I thought the system always overwrote mtab. I"ll try it out. Thanks DC.
/edit: i edited mtab. I umounted the sda1. I opened up mtab again. The reference to sda1 was gone.
- 11-28-2006 #6
udev decides where devices are mounted in most modern distros. Try looking at udev rules in /etc/udevd and see if yuo can add one for your disk. Warning - not as casual as it may sound, involves a bit of reading...
- 11-28-2006 #7
felipe: You don't look stupid, mtab is the file which shows which filesystems are currently mounted. fstab is for permanent mount points.I have sold my soul to the penguin
- 11-29-2006 #8
hehe, thanks, burntfuse.
this is what I see:
felipe@anarchy:~> ll /etc/udev total 5 drwxr-xr-x 2 root root 736 2006-11-27 03:39 rules.d -rw-r--r-- 1 root root 226 2006-09-07 10:56 udev.conf felipe@anarchy:~> more /etc/uniconf.conf / = retry:unix:/var/lib/uniconf/control ca/nit/uniconfd = ini:/var/lib/uniconf/uniconfd.ini ca/nit/nssuniconf = unix:/var/lib/uniconf/control felipe@anarchy:~> more /etc/udev/rules.d *** /etc/udev/rules.d: directory *** felipe@anarchy:~> more /etc/udev/udev.conf # udev.conf # The initial syslog(3) priority: "err", "info", "debug" or its # numerical equivalent. For runtime debugging, the daemons internal # state can be changed with: "udevcontrol log_priority=<value>". udev_log="err" felipe@anarchy:~>
- 12-08-2006 #9
any help would be greatly appreciated. I have been unable to change the mount point of USB flash disk. Suse 10.1 automatically mounts to /media/usbdisk whenever I plug the thing in.
- 12-08-2006 #10
I know it's not quite what you want, but cant you just create a symlink to /media/usbdisk from where you need it?Linux user #126863 - see http://linuxcounter.net/