Web lists-archives.com

Re: User rw Permissions on New Hard Drive




On Thu 07 Mar 2019 at 23:12:29 (+0100), Pascal Hambourg wrote:
> Le 07/03/2019 à 20:23, David Wright a écrit :
> > 
> > A filesystem
> > that has a label, has that label regardless of any OS.
> 
> Have you ever used UDF ?

Yes. As far as my experience goes, there's not a lot of difference.
I've had no occasion to *write* DVDs on a computer system, so I can
only speak of reading them.

/dev/disk/by-id:
lrwxrwxrwx 1 root root  9 Mar  7 19:31 usb-HL-DT-ST_DVDRAM_SP60NB50_KZ5E19K3606-0:0 -> ../../sr0
/dev/disk/by-label:
lrwxrwxrwx 1 root root  9 Mar  7 19:31 DVD_VR -> ../../sr0
/dev/disk/by-path:
lrwxrwxrwx 1 root root  9 Mar  7 19:31 pci-0000:00:14.0-usb-0:2:1.0-scsi-0:0:0:0 -> ../../sr0
/dev/disk/by-uuid:
lrwxrwxrwx 1 root root  9 Mar  7 19:31 2055-06-04-17-19-32-00 -> ../../sr0

# mount /dev/sr0 /mnt
mount: /dev/sr0 is write-protected, mounting read-only
# umount /mnt
# mount -L DVD_VR /mnt
mount: /dev/sr0 is write-protected, mounting read-only
# blkid -L DVD_VR
/dev/sr0
# blkid -U 2055-06-04-17-19-32-00
/dev/sr0
# 

$ lsblk -f
NAME         FSTYPE      LABEL       UUID                                 MOUNTPOINT
[…]
sr0          udf         DVD_VR      2055-06-04-17-19-32-00               /mnt
$ 

> It has a set of identifiers, and I observed
> that Windows and blkid did not use the same identifier as the label.

I've made no claim about what Windows and blkid do and do not use.
I wouldn't know how Windows mounts/unmounts them. I think DOS used
to display the UUIDs, but it's been a long time … (Did I ever feed
a DVD to DOS? Probably not.)

The LABELs on these DVDs are not particularly useful as they were
written, I assume, by the DVD recorder that burned them, and they're
all the same. The UUIDs vary, but the identification I actually use
is what I wrote on them with a pen. Distinguishing them when inside
the drive hasn't seemed particularly important.

I have a few "bought" DVDs, but like most people, I suspect, I just
look at the box and physical labels to see what's on them. I'm told
that some people examine the markings on them to see where they were
manufactured, … but now I'm rambling.

Cheers,
David.