I get the following error during boot up. But this error doesn't get written to boot.log, as it happens in early boot stages.
mount: mounts none on /dev/pts failed: Device or resource busy
I found this code in /etc/init.d/umountfs file (there is an entry for /dev/pts in it)
PROTECTED_MOUNTS="$(sed -n '0,/^\/[^ ]* \/ /p' /proc/mounts)"
WEAK_MTPTS="" # be gentle, don't use force
REG_MTPTS=""
TMPFS_MTPTS=""
while read -r DEV MTPT FSTYPE REST
do
echo "$PROTECTED_MOUNTS" | grep -qs "^$DEV $MTPT " && continue
case "$MTPT" in
/|/proc|/dev|/.dev|/dev/pts|/dev/shm|/dev/.static/dev|/proc/*$
continue
;;
/var/run)
continue
;;
/var/lock)
continue
The file /etc/init.d/umountnfs.sh also has a similar entry. So if I remove the entry /dev/pts will it solve my issue (the mount error getting displayed at boot up).
Here are the contents of mtab file:
/dev/sda1 / ext4 rw,errors=remount-ro,commit=600 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
none /sys sysfs rw,noexec,nosuid,nodev 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
none /sys/kernel/debug debugfs rw 0 0
none /sys/kernel/security securityfs rw 0 0
none /dev devtmpfs rw,mode=0755 0 0
none /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
none /dev/shm tmpfs rw,nosuid,nodev 0 0
none /var/run tmpfs rw,nosuid,mode=0755 0 0
none /var/lock tmpfs rw,noexec,nosuid,nodev 0 0
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
/dev/sda6 /media/windisk fuseblk rw,nosuid,nodev,allow_other,blksize=4096 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0
gvfs-fuse-daemon /home/blandman/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=blandman 0 0