ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Вытаскивание магнитооптики командой eject от юзера
@ 2004-05-27  6:52 Yuri N. Yaschenko
  0 siblings, 0 replies; only message in thread
From: Yuri N. Yaschenko @ 2004-05-27  6:52 UTC (permalink / raw)
  To: community

Доброго времени суток!

Може кто подсказать как заставить работать eject для вытаскивания сказевого 
оптического диска от юзера? Даю от рута команду eject /dev/sda - все 
работает. От юзера eject -v /dev/sda
[yura@ws811-2 yura]$ eject -v /dev/sda
eject: device name is `/dev/sda'
eject: expanded name is `/dev/sda'
eject: `/dev/sda' is not mounted
eject: `/dev/sda' is not a mount point
eject: `/dev/sda' is a multipartition device
eject: trying to eject `/dev/sda' using CD-ROM eject command
eject: CD-ROM eject command failed
eject: trying to eject `/dev/sda' using SCSI commands
eject: SCSI eject failed
eject: trying to eject `/dev/sda' using floppy eject command
eject: floppy eject command failed
eject: trying to eject `/dev/sda' using tape offline command
eject: tape offline command failed
eject: unable to eject, last error: Invalid argument
---------
[yura@ws811-2 yura]$ ls -al /dev/sda
brw-rw----  1 root disk 8, 0 Січ 23 19:55 /dev/sda
---------
[yura@ws811-2 yura]$ id
uid=1011(yura) gid=100(users) группы=100(users),6(disk),10(wheel),12
(mail),80(cdwriter)
---------
Хотя
[yura@ws811-2 yura]$ eject -v /dev/scd0
eject: device name is `/dev/scd0'
eject: expanded name is `/dev/scd0'
eject: `/dev/scd0' is not mounted
eject: `/dev/scd0' is not a mount point
eject: `/dev/scd0' is not a multipartition device
eject: trying to eject `/dev/scd0' using CD-ROM eject command
eject: CD-ROM eject command succeeded
---------

Спасибо.

-- 
By,
Yuri.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-05-27  6:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-27  6:52 [Comm] Вытаскивание магнитооптики командой eject от юзера Yuri N. Yaschenko

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git