3
I have dvd+rw disk. I would like to create UDF file system on it to use with windows 7 (and newer) and gentoo both. How must I prepare media and what commands should use to mount it in linux?
What I tried:
In Windows:
format /fs:UDF D:
now windows is able to work with the media. Gentoo can safely read it in ro mode.
On gentoo (as described in linux Documentation):
pktsetup 0 /dev/sr0 mount -t udf -o rw,noatime /dev/pktcdvd/pkcdvd0 /mnt cp <some> /mnt umount /mnt pktsetup -d 0
after that media is broken - windows suggest to format it, gentoo can't locate superblock to mount.
In Windows:
format /fs:UDF D:
now windows is able to work with the media Gentoo can safely read it in ro mode.
On gentoo:
mount -t udf -o rw,noatime /dev/sr0 /mnt cp <some> /mnt umount /mnt
after that windows can't read the media, but gentoo is ok.
In gentoo:
mkudffs /dev/sr0 mount -t udf -o rw,noatime /dev/sr0 /mnt cp <some> /mnt umount /mnt
gentoo works fine with media, Windows can read the media, but it can't write or delete files on it.
In gentoo:
mkudffs -r 0150 --media-type=dvd /dev/sr0 mount -t udf -o rw,noatime /dev/sr0 /mnt
mounts as readonly
mount -t udf -o remount,rw /dev/sr0 /mnt cp <some> /mnt umount /mnt
gentoo works fine with media, Windows can read the media, but it can't write or delete files on it.
In gentoo:
pktsetup 0 /dev/sr0 mkudffs /dev/pktcdvd/pktcdvd0 mount -t udf -o rw,noatime /dev/pktcdvd/pkcdvd0 /mnt
missing partition (can't read superblock) and windows can do nothing with the media.
Also, I tried to use "forget" and "ignore" in uid and gid options of mount, but gentoo's mount had problems with it:
sudo mount -t udf -o rw,uid=frget,uid=ignore,gid=ignore,gid=forget /dev/sr0 /media/default mount: failed to parse mount options
Weird. Have you tried formatting specifying a revision (
format /fs:UDF /r:2.01 D:
)? – IBPX – 2015-03-26T21:03:08.877