mount command output not including swap partition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

I am not sure if I recall correctly, but I thought swap partitions
were reported in the "mount" command output.

I was not able to modify a drive today was the system thought it was
in use, I found it a swap partition was mounted via "swapon -s" and
called swapoff.

Could I ask if swap partitions could be included in the output of
"mount" please.

Please keep my email address in any replies.

Best regards, Jon

root@ubuntu:/# mount
aufs on / type aufs (rw)
none on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=
0620)
/dev/sdb1 on /cdrom type vfat
(rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
(rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/ubuntu/.gvfs type fuse.gvfs-fuse-daemon
(rw,nosuid,nodev,user=ubuntu)
root@ubuntu:/# badblocks -b 4096 -c 512 -s -v -w /dev/sda
/dev/sda is apparently in use by the system; it's not safe to run badblocks!

root@ubuntu:~# swapon -s
Filename Type Size Used Priority
/dev/sda5 partition 12285948 0 -1

root@ubuntu:~# swapoff /dev/sda5
root@ubuntu:~# badblocks -b 4096 -c 512 -s -v -w /dev/sda
Checking for bad blocks in read-write mode
>From block 0 to 122096645
Testing with pattern 0xaa: 0.32% done, 0:20 elapsed
2.97% done, 3:11 elapsed
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux