lkml.org 
[lkml]   [1998]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: CDROM jukebox filesystem using autofs
Date
Followup to:  <slrn6khg06.8pc.aaronp@ofb.net>
By author: aaronp@ofb.net (Aaron Passey)
In newsgroup: linux.dev.kernel
>
> On Thu, 30 Apr 1998 10:10:57 -0500, Dan A. Dickey <ddickey@wamnet.com> wrote:
> >Aaron Passey wrote:
> >> There are several problems I am running into with this approach.
> >> First of all, what do I do if I have 4 drives, all mounted and busy, and I
> >> get a request for a fifth disk?
> >
> >return EBUSY.
>
> Are you suggesting that when disks 1-4 are mounted and busy
> and I do an ls on /autofs/5, the ls gets an EBUSY? This doesn't
> make much sense. Normal small CDROM jukeboxes I have seen working
> under Linux allow you to have all of the disks mounted and they swap
> disks as necessary. These are done by multiplexing at the block
> device level so you get a /dev/scd0 - /dev/scd5 for a 6 disk
> changer. The jukebox I am writing a driver for has hundreds of
> disks so it seems impractical to do this -- hence my autofs
> approach. Using the autofs model, the only choices I have are to
> grant a request from the kernel or say it doesn't exist (the process
> gets a File not Found and a negative dentry is created). I can
> modify autofs to also support sending an EBUSY but is this desired?

I think the way to do this is going to involve some amount of disk
caching if you want it to work sanely.

-hpa
--
PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
See http://www.zytor.com/~hpa/ for web page and full PGP public key
I am Bahá'í -- ask me about it or see http://www.bahai.org/
"To love another person is to see the face of God." -- Les Misérables

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.064 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site