Date: Sat, 19 Dec 2015 21:03:21 +0100 From: Polytropon <freebsd@edvax.de> To: Lev <leventelist@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: mounting udf Message-ID: <20151219210321.c5438bdc.freebsd@edvax.de> In-Reply-To: <20151219204039.70b2b91b@jive.levalinux.org> References: <20151219171651.12f1da2d@jive.levalinux.org> <20151219191010.21d4af06.freebsd@edvax.de> <20151219204039.70b2b91b@jive.levalinux.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151219210321.c5438bdc.freebsd>