golpemortal
11-28-2009, 08:16 PM
formatted a 64g usb memory stick with gparted use fat32 file system and recognized full 64gig drive
plug in and is on /media/usb
this is what i got on my fstab
UUID=24AF-1E67 /media/The-Hive defaults,nosuid,nodev,locale=en_US.UTF-8 0 0
i want all user access to this memory stick to write delete and execute.....
am I going nuts i cant make it to do that...
please help my brain is fried from all leftover turkey
:eek::eek::eek::eek::eek::eek::eek::eek::eek:
teeitup
11-29-2009, 05:21 AM
Welcome to JUSTLINUX.
It would help to know which distro, desktop environment, and kernel you are running.
These can have minor variations in how you can accomplish what you want.
You seem to be missing information in your fstab entry. Remember that the fstab file has five columns for each entry:
<file system> <mount point> <type> <options> <dump> <pass>
If you're using the Gnome desktop hal should automount and provide you with the permission you stated by default.
Before making any entries in the fstab file try letting the system automount the stick for you. You can check the /etc/mtab file to see which options were used when it was mounted.
Normally vfat filesystems get mounted by hal with 777 permissions and an uid of 1000 which should provide the access you need.
Good Luck,
ehawk
12-10-2009, 06:54 PM
Perhaps this will help.
http://tuxtraining.com/2009/08/03/manually-mount-a-usb-flash-drive-in-linux
From http://gparted.sourceforge.net/liveusb.php
Insert your USB flash drive or USB hard drive into the USB port on your Linux machine and wait a few seconds. Next, run the command "dmesg" to query the device name of the USB flash drive or USB hard drive. Let's say, for example, that you find it is /dev/sdd1. In this example, we assume /dev/sdd1 has FAT filesystem, and it is automatically mounted in dir /media/usb/. If it's not automatically mounted, manually mount it by "mkdir -p /media/usb; mount /dev/sdd1 /media/usb/".
From http://www.sysresccd.org/Sysresccd-manual-en_How_to_install_SystemRescueCd_on_an_USB-stick
If you don't have Linux installed, you can burn SystemRescueCd on a CDRom, and perform the install from this system itself.
step-01: Find the device name
You need the device of the USB stick. In most cases, Linux detects this device as an SCSI hard disk. In other words, it is detected as /dev/sda1 (first partition of first SCSI device), or /dev/sdb1 if you have another SCSI device. Since kernel 2.6.8 USB sticks may be seen as /dev/uba, /dev/ubb, ...
Here is how you can know the device name. First, start your computer under Linux with the USB stick unplugged. Then, load all USB modules (you may need to load other USB modules first). This command should not be required if the USB storage support is build-in the kernel. If modprobe can't find this module, it might be normal.
modprobe usb-storage
Now, you have to plug your USB stick, and have a look at the kernel messages. You may find the device name.
dmesg | tail -n 50
Here is a example of report from the kernel:
usb 2-6: new high speed USB device using ehci_hcd and address 7
usb 2-6: configuration #1 chosen from 1 choice
scsi5 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 7
usb-storage: waiting for device to settle before scanning
scsi 5:0:0:0: Direct-Access Kingston DataTraveler U3 6.50 PQ: 0 ANSI: 0 CCS
sd 5:0:0:0: [sdf] 1961695 512-byte hardware sectors (1004 MB)
sd 5:0:0:0: [sdf] Write Protect is off
sd 5:0:0:0: [sdf] Mode Sense: 45 00 00 08
sd 5:0:0:0: [sdf] Assuming drive cache: write through
sd 5:0:0:0: [sdf] 1961695 512-byte hardware sectors (1004 MB)
sd 5:0:0:0: [sdf] Write Protect is off
sd 5:0:0:0: [sdf] Mode Sense: 45 00 00 08
sd 5:0:0:0: [sdf] Assuming drive cache: write through
sdf: sdf1
sd 5:0:0:0: [sdf] Attached SCSI removable disk
sd 5:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete
Then, you should try to mount the device:
mkdir /mnt/usbstick
mount -t vfat /dev/sdf1 /mnt/usbstick
From https://wiki.ubuntu.com/LiveUsbPendrivePersistent
Plug in the drive and check its device name:
mount
From http://polishlinux.org/first-steps/filesystem-and-disks/
Moreover, the same applies to the external resources like floppy disks, CD-ROMs or USB sticks. According to the FHS standards, they should mounted under the /media folder. Np. /media/cdrom0, /media/fd0, etc. In older systems, these devices often used to be mounted directly under the root directory or under the /mnt folder. Soft links (shortcuts) are usually still created in those places.
From http://www.mayrhofer.eu.org/Default.aspx?pageid=45
Mount the VFAT(32) file system with mount /dev/sdu1 /mnt (or via KDE, in which case it will probably be mounted under /media/usb,