Mount makes as if mounting, but it does not really mount the medium.
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Mount makes as if mounting, but it does not really mount the medium.
Slackware 14.0
Hi:
Code:
root@server:~# mount --version
mount from util-linux 2.21.2 (with libblkid support)
root@server:~# mount /dev/sr0 -t iso9660 /mnt/cdrom
mount: block device /dev/sr0 is write-protected, mounting read-only
root@server:~# mount|grep sr0
root@server:~#
The first mount executes without complaining. The second mount, lists all mounted devices, except /dev/sr0! The medium to be mounted is this:
Code:
root@server:~# cdrecord -media-info dev=0,0,0
Cdrecord-ProDVD-ProBD-Clone 3.01a08 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2012 Joerg Schilling
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.5.34
Using libscg version 'schily-0.9'.
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identifikation : 'DVDRAM GH24NS90 '
Revision : 'IN01'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW/DVD-RAM driver (mmc_dvd).
Driver flags : NO-CD DVD MMC-3 SWABAUDIO BURNFREE
Supported modes: PACKET SAO LAYER_JUMP
cdrecord: Warning: Cannot read drive buffer.
cdrecord: Warning: The DMA speed test has been skipped.
WARNING: Phys disk size 2160824 differs from rzone size 0! Prerecorded disk?
WARNING: Phys start: 196608 Phys end 2357431
WARNING: Drive returns zero media size. Using media size from ADIP.
Mounted media class: DVD
Mounted media type: DVD-R sequential recording
Disk Is not erasable
data type: standard
disk status: incomplete/appendable
session status: empty
BG format status: none
first track: 1
number of sessions: 2
first track in last sess: 2
last track in last sess: 2
Disk Is unrestricted
Disk type: DVD, HD-DVD or BD
Track Sess Type Start Addr End Addr Size
==============================================
1 1 Data 0 2160831 2160832
2 2 Blank 2207952 2297887 89936
Last session start address: 0
Last session leadout start address: 2160832
Next writable address: 2207952
Remaining writable size: 89936
root@server:~#
I am trying to understand what happens here. Could somebody give me a hint?
The mount command output is short enough to put it here:
Code:
semoi@server:~/z80_2013/zilog$ mount
/dev/sda2 on / type ext2 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
/dev/sda1 on /xp type fuseblk (rw,allow_other,blksize=4096,default_permissions)
/dev/sda6 on /almacen type fuseblk (rw,allow_other,blksize=4096,default_permissions)
/dev/sdb1 on /mnt/usb type vfat (rw)
/dev/sda5 on /mnt/fdos type vfat (rw)
tmpfs on /dev/shm type tmpfs (rw)
gvfs-fuse-daemon on /home/semoi/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=semoi)
semoi@server:~/z80_2013/zilog$
It is nowhere in the list, and 'ls /mnt/cdrom' shows an empty list. Rebooting the machine makes the CD be effectively mounted. Furthermore, the usual behaviour is for mount to mount the optical media, if there is one in the tray. But sometimes mount's behavior is that shown in post #1: it says it is mounting and gives no warning or error. But it mounts nothing. When mount works, I get
Code:
$ mount
...............
/dev/sr0 on /mnt/cdrom type iso9660 (ro,nosuid,nodev)
...............
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.