|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Eugene B. Berdnikov 2:5020/400 07 Jan 2001 19:04:29 To : Alan Long Subject : Re: Q: ide hard disk hot-swap -------------------------------------------------------------------------------- Alan Long <Alan.Long@p72.f1082.n5030.z2.fidonet.org> wrote: AL> Вот тут есть вопрос - есть машина в ней есть свободный ide канал, на который AL> хотелось-бы повесить переносной винчестер, чисто фицическое AL> отсоединение/подсоединение происходит на ура, осталось за малом - научить AL> linux делать rescan ide интерфейсу и перечитывать partition AL> table. Может-быть кто-то подобным занимался или посоветует что нужно читать AL> на данную тему. man sfdisk: -R Only execute the BLKRRPART ioctl (to make the kerЅ nel re-read the partition table). This can be useЅ ful for checking in advance that the final BLKRЅ RPART will be successful, and also when you changed the partition table `by hand' (e.g., using dd from a backup). If the kernel complains (`device busy for revalidation (usage = 2)') then something still uses the device, and you still have to unmount some file system, or say swapoff to some swap partition. Почему в действительности это бесполезный вызов, тебе уже объяснили. -- Eugene Berdnikov --- ifmail v.2.15dev5 * Origin: Institute for High Energy Physics, Protvino, Russia (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/53534630ae47.html, оценка из 5, голосов 10
|