mounting udf
Polytropon
freebsd at edvax.de
Sat Dec 19 20:03:25 UTC 2015
On Sat, 19 Dec 2015 20:40:39 +0100, Lev wrote:
> I have
>
> 10.2-RELEASE-p2
>
> and I used
>
> mount /dev/cd0 /mnt
This command would raise the follow-up question of the corresponding
line in /etc/fstab. :-)
> same result with
>
> mount -t udf /dev/cd0 /mnt
>
> or
>
> mount_udf /dev/cd0 /mnt
>
> command.
Those are "the same".
> -r doesn't change anything. (mount_udf doesn't really have that option.)
You're right, read-only seems to be the default anyway.
But mount -r is still considered standard for read-only
optical media. :-)
> Ok. So should it work out of the box?
It should. Here's an example of FreeBSD 8-STABLE:
# file - < /dev/cd0
/dev/stdin: UDF filesystem data (version 1.5)
'IRON_SKY '
# mount_udf /dev/cd0 /mnt
# mount -v | grep "udf"
/dev/cd0 on /mnt (udf, local, read-only)
# df -h /mnt
Filesystem Size Used Avail Capacity Mounted on
/dev/cd0 7.9G 7.9G 0B 100% /mnt
# umount /mnt
Are you sure, _really_ sure you have a UDF medium? See my first
(quite stupid) command on how to verify.
It should also work with ATAPI. On my home system, I still have
the choice of using ATAPICAM (/dev/cd0) or ATAPI (/dev/acd0):
# file - < /dev/acd0
/dev/stdin: UDF filesystem data (version 1.5)
'IRON_SKY '
# mount_udf /dev/acd0 /mnt
# mount -v | grep "udf"
/dev/acd0 on /mnt (udf, local, read-only)
# df -h /mnt
Filesystem Size Used Avail Capacity Mounted on
/dev/acd0 7.9G 7.9G 0B 100% /mnt
# umount /mnt
However, on FreeBSD 10.2, ATAPI is no longer present.
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions
mailing list