Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to mount cd / floppy by command line? 1

Status
Not open for further replies.

tg2003

IS-IT--Management
Feb 6, 2003
270
0
0
IL
Hi ,
I know the volcheck command.

I would like to know how to mount the cd or the floppy by "real " commands: what arguments should I add to the 'mount ' command?

Thanx!
 
try:

as 'root'

/usr/sbin/mount -F hsfs -r /dev/dsk/c0txd0sx /mnt

note: replace 'x' with yours
 
you still can use the "volrmmount" command if you're still using vold.

volrmmount -i floppy # for mounting floppy
volrmmount -i cdrom # for mounting cdrom/DVD-ROM
volrmmount -e cdrom # for umounting/ejecting cdrom
volrmmount -e floppy # for umounting floppy

HTT
 
thanx for your answers.

How do I know what's the full path for the cdrom?

/dev/dsk/c0 ....
??

and how do I use the 'mount' command for the floppy ?
thanx
 
Usually cdrom target is 6 (c0t6d0).

Type,

#df -k

/vol/dev/dsk/c0t6d0/sol_8_202_sparc/s0 30 4 24 15% /cdrom/sol_8_202_sparc/s0

/vol/dev/dsk/c0t6d0/x/s0 mounted on /cdrom/x/s0

Hope this helps.
 
How do I create the mount point for the cdrom, please - I tried using the "mount -o ro /dev/dsk/c***** /mnt/cdrom" command but it will not work, it said the /mntcdrom mount point does not exist - help!
 
you have to create a directory that will be the mount point:

> mkdir <dir_name>

that try to mount .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top