#debian - Tue 20 Feb 2007 between 02:28 and 02:35

NY Lost Funds



ithiumsquisher: no worries :o)
dondelelcaroDewi: an empty directory has two.
ithiumsquisher: http://channels.debian.net/paste/5438
dondelelcaroDewi: . and the name itself.
Dewi: .. is a link to the directory above.
Dewidondelelcaro: hmm
dondelelcaro: oh yeah, child directories contribute 1 as well
dondelelcaro: each time you add one
dondelelcaroDewi: that's .. comming in to play.
Dewiokay, question 2 - what does size mean for directories?
is it anything relevant to users at all?
squisherithium: Haha, funny... I read vnc and thought about vnc as the remote desktop... I have no clue about Xen, sorry :)
dondelelcaroDewi: it's the size that the directory actually takes (ie, the space needed to store the information on what files are in the directory)
ithiumsquisher: yes, it is that vnc, but in context to xen :o)
Dewidondelelcaro: that's what I suspected. But it seems odd that file overheads are not displayed in the same way
dondelelcaroDewi: generally it's totally useless to users
Dewi: files don't really have an overhead
(it's the links that do)
Dewidondelelcaro: hmm... file data isn't blocked like in FAT?
fridimabout the encryption of lvm : what is it for ? To prevent from police when you have divx ? :)
squisherithium: Oh :-) Sorry, still don't know
dondelelcaroon ext2 anyway, most everything is stored in inodes, and files are just links to those inodes
Dewidondelelcaro: there is a block size, and a file will actually occupy whole blocks
dondelelcaro: just like an empty directory takes 4k, so will a 1 byte file
fridimIn what case is it interesting for security?
dondelelcaroDewi: a 1 byte file takes up a single inode
however big that is
Wyzardithium: I haven't used HVM stuff in Xen, but as a suggestion, check dmesg and whatever Xen's analogue of dmesg is?
Dewidondelelcaro: I wouldn't be at all surprised to find that the directory size is an inode too
Wyzardfridim: mostly as a safeguard in case my computer gets stolen or something
actiondondelelcaro isn't actually sure how the actual block<->inode allocation is done in ext2
dondelelcaroisn't actually sure how the actual block<->inode allocation is done in ext2
(having never really bothered to find out)
Dewidondelelcaro: neither am I; but what bothers me is that I can't compare listings between two different filesystems because all the directories have different 'sizes'
dondelelcaroDewi: why are you doing that?
Dewi: if you want to know if they're the same or not, use md5sum
Dewidondelelcaro: backups for terabytes of data
ithiumWyzard: ok, I'll try to find where that is
Dewidondelelcaro: you'd be surprised how many hours md5summing a 750GB disk takes
dondelelcaroDewi: well, there's no real way to know if they're the same otherwise.
Wyzardfridim: If I were to be arrested for some reason I doubt the encryption would make much of a difference, since a court could order me to divulge the passphrase, and imprison me if I refused

Page: 5 12 19 26 33 40 47 54 61 68 75 82 89 96 103 110 117 124 131 138 145 152 159 166 

IrcArchive

NY Lost Funds