Hi!
root@kama3:/home/szabi# cat /proc/mounts
...
/dev/hdb2 /usr ext2 rw 0 0
...
root@kama3:/home/szabi# swapon /dev/hdb2
set_blocksize: b_count 1, dev ide0(3,66), block 2, from c0126b48
set_blocksize: b_count 1, dev ide0(3,66), block 3, from c0126b48
set_blocksize: b_count 1, dev ide0(3,66), bloc
On Sun, 13 May 2001, BERECZ Szabolcs wrote:
> Hi!
>
> root@kama3:/home/szabi# cat /proc/mounts
> ...
> /dev/hdb2 /usr ext2 rw 0 0
> ...
> root@kama3:/home/szabi# swapon /dev/hdb2
- Doctor, it hurts when I do it!
- Don't do it, then.
Just what behaviour had you expected?
-
To unsubscribe fro
I was under the impression that you need to call swapon on swap partitions,
and not on mounted filesystems.
Matt
On Sun, May 13, 2001 at 01:00:39AM +0200, BERECZ Szabolcs wrote:
> Hi!
>
> root@kama3:/home/szabi# cat /proc/mounts
> ...
> /dev/hdb2 /usr ext2 rw 0 0
> ...
> root@kama3:/home/szabi#
On Sat, 12 May 2001, Alexander Viro wrote:
> - Doctor, it hurts when I do it!
> - Don't do it, then.
>
> Just what behaviour had you expected?
maybe that I don't have to shutdown?
I think it's a *bad* behaviour
Bye,
Szabi
-
To unsubscribe from this list: send the line "unsubscribe linux-kerne
> > root@kama3:/home/szabi# cat /proc/mounts
> > /dev/hdb2 /usr ext2 rw 0 0
> > root@kama3:/home/szabi# swapon /dev/hdb2
>
> - Doctor, it hurts when I do it!
> - Don't do it, then.
>
> Just what behaviour had you expected?
EBUSY would be somewhat nicer.
-
To unsubscribe from this list: send the
On Sun, 13 May 2001, BERECZ Szabolcs wrote:
> On Sat, 12 May 2001, Alexander Viro wrote:
>
> > - Doctor, it hurts when I do it!
> > - Don't do it, then.
> >
> > Just what behaviour had you expected?
> maybe that I don't have to shutdown?
> I think it's a *bad* behaviour
Erm... Let me restate:
On Sat, 12 May 2001, Matthew Dharm wrote:
> I was under the impression that you need to call swapon on swap partitions,
> and not on mounted filesystems.
hmm. so we can remove every check for good values in the kernel. yeah,
that would be pretty fast.
yes, I know it's really unusual to call sys_s
On Sun, 13 May 2001, Alan Cox wrote:
> > > root@kama3:/home/szabi# cat /proc/mounts
> > > /dev/hdb2 /usr ext2 rw 0 0
> > > root@kama3:/home/szabi# swapon /dev/hdb2
> >
> > - Doctor, it hurts when I do it!
> > - Don't do it, then.
> >
> > Just what behaviour had you expected?
>
> EBUSY would
On Sat, 12 May 2001, Alexander Viro wrote:
> > > Just what behaviour had you expected?
> > maybe that I don't have to shutdown?
> > I think it's a *bad* behaviour
>
> Erm... Let me restate: what did you expect to achieve with that?
nothing
I have an unused partition, what I use sometimes as fs, s
On Sun, May 13, 2001 at 12:32:20AM +0100, Alan Cox wrote:
> > > root@kama3:/home/szabi# cat /proc/mounts
> > > /dev/hdb2 /usr ext2 rw 0 0
> > > root@kama3:/home/szabi# swapon /dev/hdb2
> >
> > - Doctor, it hurts when I do it!
> > - Don't do it, then.
> >
> > Just what behaviour had you expected?
On Sun, 13 May 2001 01:00:39 +0200 (CEST), BERECZ Szabolcs said:
> Hi!
>
> root@kama3:/home/szabi# cat /proc/mounts
> ...
> /dev/hdb2 /usr ext2 rw 0 0
> ...
> root@kama3:/home/szabi# swapon /dev/hdb2
[snip]
hmm. while the technical issues of this situation are fairly interesting,
can i m
On Sat, 12 May 2001, Alexander Viro wrote:
>On Sun, 13 May 2001, Alan Cox wrote:
>
>> > > root@kama3:/home/szabi# cat /proc/mounts
>> > > /dev/hdb2 /usr ext2 rw 0 0
>> > > root@kama3:/home/szabi# swapon /dev/hdb2
>> >
>> > - Doctor, it hurts when I do it!
>> > - Don't do it, then.
>> >
>> > Just
On Sat, 12 May 2001, Alexander Viro wrote:
>
>
> On Sun, 13 May 2001, BERECZ Szabolcs wrote:
>
> > On Sat, 12 May 2001, Alexander Viro wrote:
> >
> > > - Doctor, it hurts when I do it!
> > > - Don't do it, then.
> > >
> > > Just what behaviour had you expected?
> > maybe that I don't have to
> Erm... Let me restate: what did you expect to achieve with that?
> Swap on device means that all contents of that device is lost.
> Mounting fs from device generally means that you don't want the
> loss of contents. At least until you unmount the thing.
Actually no. There is no swap magic so th
14 matches
Mail list logo