how to find out mp3 player creative zen stone uuid?
Hello,
I'm trying to find out what's the uuid my creative zen stone mp3 player is. But i got no luck to do this right now. Maybe there are some devices without an uuid? when i type into a console >>sudo blkid /dev/sdd1<<, i get following .. Code:
/dev/sdd1: LABEL="ZEN Stone" TYPE="vfat" thanks to all raleeha |
Try this:
Code:
ls -l /dev/disk/by-uuid/ |
Quote:
Strictly speaking it's the filesystem that lacks UUID support. With gpt, UUID is a property of the partition, as well as (in the case of Linux filesystems) the filesystem. |
Or you can write an Udev rule for it, see the ArchWiki tag: Udev how to write your own rule for the label method.
A good example script by label is shown there |
udev rules: /etc/udev/rules.d/11-mnt-auto-mount.rules
Code:
KERNEL!="sd[a-z][0-9]", GOTO="mnt_auto_mount_end" |
Yes this creates a mountpoint in /mnt and symbolicly links it to /media.
Some desktops may need that you make a policy rule to like this Code:
/etc/polkit-1/localauthority/50-local.d/50-filesystem-mount-system-internal.pkla Tip if you use dolphin put /media in the location-bar the zen appears automaticly in locations You might need to replace 'udisks' with 'udisks2' in case the newer version is used!!! |
entry in /etc/fstab ?
ty Babertje =)
I copied this content into a new file called "11-mnt-auto.rules" in the /etc/udev/rules.d directory. The device "Creative Zen Stone 1 GB" will be now mounted in /mnt/usbhd-sdc1 and a symlink will be created in /media/usbhd-sdc1. For now its only possible for the root account to mount or umount this device. I'm not sure, if it make a sense to put this device in /etc/fstab to make it possible mount as normal user account. I would describe this device in /etc/fstab like the following "/dev/sdc1 /mnt/usbhd-sdc1 auto fmask=133,dmask=022,noauto,user 1 0" ty for any comments |
normally i should umount the device before unplug but as normal user it gives there s no entry in /etc/fstab so only root can umount the device. So my question do i really need to umount as root to unplug or its possible to umount as normal user ?
|
All times are GMT -5. The time now is 10:44 PM. |