18d73
![]() |
|
|
|
|
|||||||
| General General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I want mount the dvd.iso file, when i use the mdconfig, it always show this warnings:
root@FreeBSD64/samba/movie# mdconfig -a -t vnode -f Museum2009.iso -u 0 mdconfig: ioctl(/dev/mdctl): Permission denied root@FreeBSD64/samba/movie# ls -lt /dev/mdctl crw------- 1 root wheel 0, 71 6 21 09:40 /dev/mdctl My system is FreeBSD/amd64/7.2-stable. I can use the virtualbox mount the dvd.iso file to guest OS cdrom drive(and watch the dvd), so i think the problem shall not be the dvd.iso file. How to mount the dvd.iso file on FreeBSD? Please help, thank you. |
|
#2
|
|||
|
|||
|
first check is dvd.iso already accessed by other process, then change -u 0 let say -u 55 and mount /dev/md55
|
|
#3
|
||||
|
||||
|
Try without using -u. There may already be a /dev/md0.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#4
|
|||
|
|||
|
Hi, i tried
mdconfig -a -t vnode -f /samba/movie/Museum2009.iso and mdconfig -a -t vnode -f /samba/movie/Museum2009.iso -u 55 the result is same. mdconfig: ioctl(/dev/mdctl): Permission denied and my system have not and md[0-9] ls -l /dev/md* crw------- 1 root wheel 0, 71 6 21 09:40 /dev/mdctl Thank you, please help. |
|
#5
|
|||
|
|||
|
i receive permission denied when tried to use mdconfig as normal user, are you sure that you are root ?
|
|
#6
|
|||
|
|||
|
Yes, i'm SURE
|
|
#7
|
||||
|
||||
|
Have you tried with -t cd9660?
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki Before you post: How to ask questions the smart way If you must know .. So, what does an Administrator/Moderator do? ---> Do not PM me with FreeBSD questions. I do not work here. <--- |
|
#8
|
|||
|
|||
|
What is that mean?
mount_cd9660? no, i have not tried, can you tell me more, i want to try it. please help, thank you. |
|
#9
|
||||
|
||||
|
mdconfig(8)
Code:
To create an md(4) device out of an ISO 9660 CD image file (-a and -t
vnode are implied), using the first available md(4) device, and then
mount the new memory disk:
mount -t cd9660 /dev/`mdconfig -f cdimage.iso` /mnt
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki Before you post: How to ask questions the smart way If you must know .. So, what does an Administrator/Moderator do? ---> Do not PM me with FreeBSD questions. I do not work here. <--- |
|
#10
|
||||
|
||||
|
What are the permissions on the file you are trying to mount?
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#11
|
|||
|
|||
|
Quote:
mdconfig: ioctl(/dev/mdctl): Permission denied mount_cd9660: /dev: Block device required Any idea, it will Permission denied? ever do it as root. |
|
#12
|
|||
|
|||
|
I'm sure the file system is mount as read and write permissions.
because i can read/write other file in this directory /samba/movie root@/samba/movie# ls -l Museum2009.iso -rwxr-xr-x 1 samba samba 4298829824 6 19 00:05 Museum2009.iso root@/samba/movie# mount -v /samba //SAMBA@PDC/SHARE on /samba (smbfs, fsid 0cff000a0a000000) |
|
#13
|
||||
|
||||
|
Could you try copying the iso to a local filesystem and mounting from there?
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki Before you post: How to ask questions the smart way If you must know .. So, what does an Administrator/Moderator do? ---> Do not PM me with FreeBSD questions. I do not work here. <--- |
|
#14
|
|||
|
|||
|
Sorry everyone, i know the problem now, the problem is the Museum2009.iso file is readonly.
this command can solve it: mdconfig -a -t vnode -o readonly -f /samba/movie/Museum2009.iso Thank all. |
|
#15
|
||||
|
||||
|
Quote:
mdconfig just creates a memory disk, it does nothing with filesystems, for example: Code:
# mdconfig -at vnode -f /ports/INDEX-7 md0 # head -c 70 /dev/md0 accerciser-1.6.1|/usr/ports/accessibility/accerciser|/usr/local|Intera
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unzip freebsd 7.2 iso.gz | c0mput3r | Installing & Upgrading | 5 | June 7th, 2009 01:35 |
| Where is uncompressed FreeBSD 7.2 ISO? | apasajja | General | 6 | June 6th, 2009 23:05 |
| minibsd as iso image | mhegazy | Userland Programming & Scripting | 8 | April 27th, 2009 15:02 |
| how to mount iso image without root privilege | fender0107401 | General | 8 | March 24th, 2009 08:26 |
| Open file descriptors on a file | jostrowski | Userland Programming & Scripting | 2 | March 19th, 2009 02:50 |