lkml.org 
[lkml]   [2007]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: RFC: permit link(2) to work across --bind mounts ?
dean gaudet wrote:
>> Pffuff. That's what volume managers are for! You do have (at least) two
>> independent spindles in your RAID1 array, which give you less need to worry
>> about head-stack contention.
>>
>
> this system is write intensive and writes go to all spindles, so you're
> assertion is wrong.

I don't know what you think I was asserting, but you were wrong. Of
course I/O is distributed across both spindles. You would expect no
less. THAT is what I was telling you.

> the main worry i have is some user maliciously hardlinks everything
> under /var/log somewhere else and slowly fills up the file system with
> old rotated logs. the users otherwise have quotas so they can't fill
> things up on their own. i could probably set up XFS quota trees (aka
> "projects") but haven't gone to this effort yet.
>

See, this is where you show that you don't understand the system. I'll
explain it, just once. /var/home contains home directories. /var/log
and /var/home are on the same filesystem. So /var/log/* can be linked
to /var/home/malicious, and that's just one of your basic misunderstandings.

>> LVM is your friend.
>>
>
> i disagree. but this is getting into personal taste -- i find volume
> managers to be an unnecessary layer of complexity.

Right... But wanting to change the semantics of link(2), so that you can
do something that you already can do, anyway, this is simple, is it?

> you probably missed the point where i said that i was surprised i couldn't
> hardlink across the bind mount and actually wanted it to work.
>

No. Look, you obviously haven't read what I've told you. I mean, it's
very obvious you haven't. I'm wasting my time on you and I'm now out of
generosity. Good luck to you. I think you need it.

And no, you can't change link(2). You don't need to.


\
 
 \ /
  Last update: 2007-12-29 21:39    [W:0.399 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site