Bug 18261 - KDE can't unmount an existing partition
Summary: KDE can't unmount an existing partition
Status: CLOSED WONTFIX
Alias: None
Product: ALT Linux Desktop
Classification: Distributions
Component: livecd (show other bugs)
Version: 4.1.0
Hardware: all Linux
: P2 normal
Assignee: Anton V. Boyarshinov
QA Contact: Andrey Cherepanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-20 17:20 MSK by Ivan Zakharyaschev
Modified: 2020-07-09 11:58 MSK (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2008-12-20 17:20:41 MSK
In konqueror, in system:/media/, I see the exiting partitions mounted.

One of them is a "Recovery" NTFS partition from Vista. I select "отключить" in the menu on it, but an error message apears from kio_media_mounthelper:

Устройство system:/media/sda1 (/dev/sda1) с именем 'Recovery' подключенное в /mnt/sda1 не может быть отключено. 
Отключение невозможно по следующей причине:
Cannot open /media/.hal-mtab

Expected: it is unmounted.

More info:

 mount
rootfs on / type rootfs (rw)
udev on /dev type tmpfs (rw,size=10240k,mode=755)
/dev/sr0 on /image type iso9660 (ro)
/dev/loop0 on / type squashfs (ro)
/proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
/dev/shm on /tmp type tmpfs (rw)
/dev/shm on /mnt type tmpfs (rw)
tmpfs on /media type tmpfs (rw,size=52k)
/mnt/root/var on /var type unionfs (rw,dirs=/mnt/root/var=rw:/var=ro)
/mnt/root/etc on /etc type unionfs (rw,dirs=/mnt/root/etc=rw:/etc=ro)
/mnt/root/lib on /lib type unionfs (rw,dirs=/mnt/root/lib=rw:/lib=ro)
/mnt/root/bin on /bin type unionfs (rw,dirs=/mnt/root/bin=rw:/bin=ro)
/mnt/root/usr on /usr type unionfs (rw,dirs=/mnt/root/usr=rw:/usr=ro)
/mnt/root/sbin on /sbin type unionfs (rw,dirs=/mnt/root/sbin=rw:/sbin=ro)
/mnt/root/home on /home type unionfs (rw,dirs=/mnt/root/home=rw:/home=ro)
/mnt/root/root on /root type unionfs (rw,dirs=/mnt/root/root=rw:/root=ro)
devpts on /dev/pts type devpts (rw,nosuid,noexec,gid=5,mode=620)
tmpfs on /tmp type tmpfs (rw,nosuid)
tmpfs on /tmp type tmpfs (rw)
/dev/sda1 on /mnt/sda1 type fuseblk (rw,nosuid,nodev,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda2 on /mnt/sda2 type fuseblk (rw,nosuid,nodev,user_id=0,group_id=0,allow_other,blksize=4096)
$
Comment 1 Ivan Zakharyaschev 2008-12-20 17:21:55 MSK
"Workaround": 
su -
umount /dev/sda1

It works.
Comment 2 Ivan Zakharyaschev 2008-12-20 18:31:07 MSK
Perhaps, that's OK: a normal user shouldn't have the rights to do this (only root), but the error message is not informative at all.
Comment 3 Andrey Cherepanov 2020-07-09 11:58:10 MSK
Поддержка дистрибутива завершена. Используйте новые версии.