Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
When I issue the mount command, even if there is a disc in my DVD/CD combo drive, I can't see where the device is mounted.
Here is the output of the mount command. Another oddity in it is that I only have two partition on sda, and I was thinking that / and Swap would be configured as partitions 1 and 2 not 2 and 3? Is 1 the boot loader then?
mount /dev/sda2 on / type ext4 (rw,acl,user_xattr) proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5) /dev/sda3 on /home type ext4 (rw,acl,user_xattr) fusectl on /sys/fs/fuse/connections type fusectl (rw)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
My thinking is that boldface is swap and / respectively and italics is all loaded to / on sda3? Is this correct? Why can't I see my optical drive as a mounted device with or without a disc?
Three forms of invocation do not actually mount anything:
[snip]
mount [-l] [-t type]
lists all mounted file systems (of type type). The option -l adds the (ext2, ext3 and XFS) labels in this listing.
So mount with no options lists the mounted file systems as illustrated in the OP.
Music and video CDs and DVDs do not need to be mounted to be played. Music CDs and DVDs do not have a file system type that is normally supported by Linux so cannot be mounted.
Swap partitions do not contain file systems so cannot be mounted. To display the swap partition use fdisk -l.
The programs mount and umount maintain a list of currently
mounted filesystems in the file /etc/mtab. If no arguments are
given to mount, this list is printed.
mount /dev/sda2 on / type ext4 (rw,acl,user_xattr) proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5) /dev/sda3 on /home type ext4 (rw,acl,user_xattr) fusectl on /sys/fs/fuse/connections type fusectl (rw)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
My thinking is that boldface is swap and / respectively and italics is all loaded to / on sda3? Is this correct?
No it is not. You have two lines in bold. The first one (/dev/sda2) is the root filesystem. (Although not completely correct, in popular WinSpeech that would be C: )
The second one (/dev/sda3) is /home which is where all the personal files of the users are. (In WinSpeech that would be 'Documents and settings')
Swap is never mounted because it does not contain a filesystem. Linux is not using a swap file, but a swap partition.
You CD is probably mounted under /media or something like that. That is where it is in Ubuntu.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.