<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>filesystem &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/filesystem/</link>
	<description>Feed of posts on WordPress.com tagged "filesystem"</description>
	<pubDate>Sun, 27 Dec 2009 13:14:29 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Multi OS fileserver - Project Alice]]></title>
<link>http://happytripathy.wordpress.com/2009/12/24/multi-os-fileserver-project-alice/</link>
<pubDate>Thu, 24 Dec 2009 08:02:21 +0000</pubDate>
<dc:creator>happy tripathy</dc:creator>
<guid>http://happytripathy.wordpress.com/2009/12/24/multi-os-fileserver-project-alice/</guid>
<description><![CDATA[The open source community is coming up with a new OS almost every month !!! For me the urge to try o]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>The open source community is coming up with a new OS almost every month !!! For me the urge to try out a new OS is insatiable, I want to migrate/test other variants as soon as they are available for download. Having multiple OS&#8217;s has it own problems, you need to cut your  HDD into multiple partitions and allocate it to the new OS, this creates a much bigger problem of data-isolation. User data available on one OS is invisible to the other, what if there was a solution wherein we could have plug and play OS and user data on a  file-server which can be accessed through any OS. I am trying to achieve this (codenamed : Project Alice) as per the plan below:</p>
<p><span style="text-decoration:underline;">Step 1:   Build a low cost PC</span></p>
<p>Hardware has already been arranged, need to buy some old disk controllers and hard drives for the file-server. Hard drives are going to be inexpensive ones with lesser storage space (40 GB max), so as to minimize extent of damage and cost in case of a disk crash. If someone has some old unused disks in working condition, please let me know.</p>
<p><span style="text-decoration:underline;">Step 2:  Make it a file-server and store all data on it</span></p>
<p>This is perhaps the easy part, configuring the file-server. I am planning to use some generic storage filesystems on it, like Veritas volume manager or something else, preferably open source <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  and spread the data on it using RAID 5, that solves the problem of backing up data on a periodic basis and also restoration is a lot easier. The file-server can then be hooked on to the network.</p>
<p><span style="text-decoration:underline;">Step 3 :  Create USB bootable copies of the OS and run it from the USB itself</span></p>
<p>And this is the most interesting part of the project <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Create bootable OS versions on 4GB flash drives. OS&#8217;s now a days are quite light and 4GB is more than enough for them. You may need to add an external swap if the system is too overloaded. The USB version of OS also allows you to make persistent changes. I have already built two USB drives with Ubuntu and  OpenSolaris on it. You just need to plug them in and restart the system, your new OS would be UP and running in minutes. To change the OS, Shutdown -&#62; insert new OS flash drive -&#62; reboot, simple.</p>
<p><span style="text-decoration:underline;">Step 4: Access all user data from Fileserver irrespective of the OS</span></p>
<p>Right this is the trickiest part. Almost all Linux based OS&#8217;s use the same file-systems (ext2/ext3) while windows uses NTFS/FAT32. I need a method/driver to access (read and write) on both the filesystems. In simpler terms I can store a file on a windows machine and access it from a machine which is running Linux !!! As of now I dont know how to achieve it , but have certain theories. One of them is to share the data by using  Samba for Windows machines and NFS for Unix based machines. The other is to use some 3rd party tool to allow me reading/writing data across multiple filesystems, I am not sure if such tool is available, if anyone is working on or aware of such tools, please let me know. I am eager to try out the second option.</p>
<address>*As of today this project is majorly dealing with 2 variants of OS, Linux and Windows</address>
<address>**Sorry if this post seems to be tech junk</address>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Google Chrome OS and Digital Photography]]></title>
<link>http://informalbrain.com/2009/11/21/google-chrome-os-and-digital-photography/</link>
<pubDate>Sat, 21 Nov 2009 16:39:50 +0000</pubDate>
<dc:creator>Shawn Smith</dc:creator>
<guid>http://informalbrain.com/2009/11/21/google-chrome-os-and-digital-photography/</guid>
<description><![CDATA[I have downloaded the Google Chrome OS virtual machine image and fired it up in Parallels on my Mac.]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I have downloaded the Google Chrome OS virtual machine image and fired it up in Parallels on my Mac. While somewhat underwhelming perhaps that is its best feature. When I think of my mom as a use case this would be a perfect solution. She has already embraced gmail, google calendar, google docs and picasa.</p>
<p>All of her data is in the cloud today except her photos. What will be interesting to see is how google enables digital cameras and the cloud. Perhaps a diect upload to Picasa, with a new online photo editor? This will be something to watch.</p>
<p>For example if you fire up Chrome OS in a Virtual Machine you and you insert a camera card into the internal reader on the iMac the ChromeOS shows a new panel with the the mounted filesystem:</p>
<p><a href="http://informalbrain.wordpress.com/files/2009/11/google-chrome-content-browser.png"><img class="alignnone size-medium wp-image-421" title="Google Chrome Content Browser" src="http://informalbrain.wordpress.com/files/2009/11/google-chrome-content-browser.png?w=300" alt="" width="300" height="241" /></a></p>
<p>You can then reference this mounted filesystem in Gmail or Gtalk for example.  I suspect we will see advanced tools where the web system auto detects the content on the flash card as a Photo Card and imports directly.  Imagine a web version of Picasa for example.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Snapshots en UFS de FreeBSD]]></title>
<link>http://pedorro.wordpress.com/2009/11/17/snapshots-en-ufs-de-freebsd/</link>
<pubDate>Wed, 18 Nov 2009 02:38:27 +0000</pubDate>
<dc:creator>pobre</dc:creator>
<guid>http://pedorro.wordpress.com/2009/11/17/snapshots-en-ufs-de-freebsd/</guid>
<description><![CDATA[Hace unos días descubrí los snapshots para filesystems UFS(2) de FreeBSD (lo se, lo se, soy un desas]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Hace unos días descubrí los <a href="http://people.freebsd.org/~rse/snapshot/">snapshots </a>para filesystems UFS(2) de <a href="http://freebsd.org">FreeBSD </a>(lo se, lo se, soy un desastre) y si bien se implementa también para ZFS le di caña a los snapshots para UFS (default de FreeBSD).<br />
Para probarlo, lo que hice fue crear y montar una imagen en un archivo (dd, mkfs, mdconfig, etc&#8230;) quedando algo así:</p>
<pre class="brush: bash;">
/home/ignacio $ mount &#124; grep md0
/dev/md0 on /usr/home/ignacio/md0 (ufs, local)
</pre>
<p>Lo primero que hay que hacer, es notar la existencia del directorio .snap dentro de la recién montada imagen. Es en la raíz de cada partición UFS es donde está el directorio .snap.<br />
Yo lo que hice fue instalar el frontend <a href="http://people.freebsd.org/~rse/snapshot/snapshot.8.html">snapshot(8) </a>mediante su port <em>sysutils/freebsd-snapshot</em>.</p>
<p>En la página citada, donde Ralf S. Engelschall explica la motivación y la forma de uso la verdad que está muy buena y simple.<br />
Básicamente el comando snapshot, consta de cuatro acciones básicas: list, make, mount y umount.</p>
<p>Con snapshot list podemos ver la lista completa de los snapshots creados para alguna partición, en este caso, aún no hemos creado ninguno por lo que el listado, estará vacío:</p>
<pre class="brush: bash;">
/home/ignacio $ snapshot list /home/ignacio/md0
Filesystem          User   User%     Snap   Snap%  Snapshot
</pre>
<p>Vemos el listado actual del directorio actual:</p>
<pre class="brush: bash;">/home/ignacio $ cd md0
/home/ignacio/md0 $ ls -l
drwxrwxr-x  2 root  operator      512 Nov 17 14:06 .snap
-rw-r--r--  1 root  wheel          12 Nov 10 16:23 ignacio
-rw-r--r--  1 root  wheel     1048576 Nov 10 17:37 test_file.txt
</pre>
<p>y creamos nuestro primer snapshot:</p>
<pre class="brush: bash;">
/home/ignacio/md0 $ snapshot make -g4 /home/ignacio/md0:snaps
</pre>
<p>Donde, -g4 indica que guardaremos 4 generaciones (cuatro vistas al <em>pasado</em>), /home/ignacio/md0 es (donde está montada) la partición y snaps es un tag que le asignamos.</p>
<p>Tiremos ahora un nuevo list:</p>
<pre class="brush: bash;">
/home/ignacio $ snapshot list /home/ignacio/md0
Filesystem          User   User%     Snap   Snap%  Snapshot
/home/ignacio/md0      2MB    2.9%    224KB    0.2%  snaps.0
</pre>
<p>Para jugar un poco borramos el archivo test_file.txt por error y ahora, para salvar el día, recuperamos el snapshot que creamos:</p>
<pre class="brush: bash;">
/home/ignacio/md0 $ ls -l
total 4
drwxrwxr-x  2 root  operator  512 Nov 17 14:09 .snap
-rw-r--r--  1 root  wheel      12 Nov 10 16:23 ignacio
/home/ignacio/md0 $
</pre>
<p>Para recuperar el snapshot debemos montarlo indicando que generación queremos recuperar, en nuestro caso, la 0:</p>
<pre class="brush: bash;">
/home/ignacio $ snapshot mount /home/ignacio/md0:snaps.0 /mnt
WARNING: opening backing store: /usr/home/ignacio/md0/.snap/snaps.0 readonly
</pre>
<p>Buscamos en el /mnt los archivos:</p>
<pre class="brush: bash;">
/home/ignacio $ cd /mnt
/mnt $ ls
.snap           ignacio         test_file.txt
/mnt $
</pre>
<p>Devolvemos test_file.txt a la normalidad:</p>
<pre class="brush: bash;">
/mnt $ cp -v test_file.txt /home/ignacio/md0
test_file.txt -&#62; /home/ignacio/md0/test_file.txt
/ $ snapshot umount /mnt
/ $ cd /home/ignacio/md0
/home/ignacio/md0 $ ls -l
total 1044
drwxrwxr-x  2 root  operator      512 Nov 17 14:09 .snap
-rw-r--r--  1 root  wheel          12 Nov 10 16:23 ignacio
-rw-r--r--  1 root  wheel     1048576 Nov 17 14:14 test_file.txt
</pre>
<p>Con lo de arriba, copiamos el archivo que habiamos perdido por error, desmontamos el snapshot y verificamos como quedó nuestra partición.</p>
<p>En fin, terrible herramienta! Es recomendado revisar además la man page <a href="http://people.freebsd.org/~rse/snapshot/periodic-snapshot.8.html">periodic-snapshot(8)</a> para hacer snapshots periodicos usando el cron y periodic.</p>
<p>Estoy comenzando a ser un usuario feliz de este tipo de filesystems. Claro que ya tengo configurado el cron para que genere los snapshots de manera automatizada para todas las particiones de mi disco y también espero jamás en mi vida necesitarlos.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Bloqueadores de escrita]]></title>
<link>http://foren6.wordpress.com/2009/11/17/bloqueadores-de-escrita/</link>
<pubDate>Tue, 17 Nov 2009 15:55:27 +0000</pubDate>
<dc:creator>foren6</dc:creator>
<guid>http://foren6.wordpress.com/2009/11/17/bloqueadores-de-escrita/</guid>
<description><![CDATA[Case IDE/SATA Há uns dias atrás, comecei a fuçar em algumas ferramentas de imaging de discos. Como n]]></description>
<content:encoded><![CDATA[Case IDE/SATA Há uns dias atrás, comecei a fuçar em algumas ferramentas de imaging de discos. Como n]]></content:encoded>
</item>
<item>
<title><![CDATA[Opps!! Not able to ping internal interface in Linux]]></title>
<link>http://thalif.wordpress.com/2009/11/12/opps-not-able-to-ping-internal-interface-in-linux/</link>
<pubDate>Thu, 12 Nov 2009 08:44:52 +0000</pubDate>
<dc:creator>mohammadthalif</dc:creator>
<guid>http://thalif.wordpress.com/2009/11/12/opps-not-able-to-ping-internal-interface-in-linux/</guid>
<description><![CDATA[I created my own rootfile system for linux.Opps!! I am not able to ping to my own system but I could]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I created my own rootfile system for linux.Opps!! I am not able to ping to my own system but I could ping others</p>
<p>Posted by mohammadthalif on November 12, 2009</p>
<p>This happens in the embedded very often when you are desingning your target file system fom scratch or modifing the exsisting one. I came accross same situation. and thinking why and finally figured out root for problem.</p>
<p>#ifconfig eth0 192.168.1.5 netmask 255.255.255.0 up</p>
<p>Now my interface is up. So to check it I do a ping to some system ( my network gateway )</p>
<p># ping 192.168.1.1</p>
<p>Ping is sucessful. Now ping my own IP 192.168.1.5</p>
<p>#ping 192.168.1.5</p>
<p>Now it fails…. what could be the problem for this. ? I was looking around the kernel configs, driver etc,. but no solution.</p>
<p>And finaly I did type just ifconfig alone in the prompt and found there is no loopback interface up. I brought up the interface up and now I am able to ping by own IP.</p>
<p>#ping 192.168.1.5</p>
<p>Now passed.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[NetWorker on Linux – Ditching ext3 for xfs]]></title>
<link>http://nsrd.wordpress.com/2009/11/05/networker-on-linux-%e2%80%93-ditching-ext3-for-xfs/</link>
<pubDate>Wed, 04 Nov 2009 19:41:54 +0000</pubDate>
<dc:creator>Preston</dc:creator>
<guid>http://nsrd.wordpress.com/2009/11/05/networker-on-linux-%e2%80%93-ditching-ext3-for-xfs/</guid>
<description><![CDATA[Recently when I made an exasperated posting about lengthy ext3 check times and looking forward to bt]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Recently when I made an exasperated posting about lengthy ext3 check times and looking forward to btrfs, Siobhán Ellis pointed out that there was already a filesystem available for Linux that met a lot of my needs – particularly in the backup space, where I&#8217;m after:</p>
<ul>
<li>Being able to create large filesystems that don&#8217;t take exorbitantly long to check</li>
<li>Being able to avoid checks on abrupt system resets</li>
<li>Speeding up the removal of files when staging completes or large backups abort</li>
</ul>
<p>That filesystem of course is <a title="XFS article at Wikipedia" href="http://en.wikipedia.org/wiki/XFS" target="_blank">XFS</a>.</p>
<p>I&#8217;ve recently spent some time shuffling data around and presenting XFS filesystems to my Linux lab servers in place of ext3, and I&#8217;ll fully admit that I&#8217;m horribly embarrassed I hadn&#8217;t thought to try this out earlier. If anything, I&#8217;m stuck looking for the <em>right</em> superlative to describe the changes.</p>
<p>Case in point – I was (and indeed still am) doing some testing where I need to generate &#62;2.5TB of backup data from a Windows 32-bit client for a single saveset. As you can imagine, not only does this take a while to generate, but it also takes a while to <em>clear</em> from disk. I had got about 400 GB into the saveset the first time I was testing and realised I&#8217;d made a mistake with the setup so I needed to stop and start again. On an ext3 filesystem, it took more than 10 minutes after cancelling the backup before the saveset had been fully deleted. It may have taken longer – I gave up waiting at that point, went to another terminal to do something else and lost track of how long it actually took.</p>
<p>It was around that point that I recalled having XFS recommended to me for testing purposes, so I downloaded the extra packages required to use XFS within CentOS and reformatting the ~3TB filesystem to XFS.</p>
<p>The next test that I ran aborted due to a (!!!) comms error 1.8TB through the backup. Guess how long it took to clear the space? No, seriously, guess – because I couldn&#8217;t log onto the test server fast enough to actually see the space clearing. The backup aborted, and the space was suddenly back again. That&#8217;s a 1.8TB file deleted in seconds.</p>
<p><em>That&#8217;s the way a filesystem should work</em>.</p>
<p>I&#8217;ve since done some (in VMs) nasty power-cycle mid-operation tests and the XFS filesystems come back up practically instantaneously – no extended check sessions that make you want to cry in frustration.</p>
<p>If you&#8217;re backing up to disk on Linux, you&#8217;d be mad to use anything other than XFS as your filesystem. Quite frankly, I&#8217;m kicking myself that I didn&#8217;t do this years ago.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[replacer.rb and deleter.rb]]></title>
<link>http://thinkingbox.wordpress.com/2009/10/30/replacer-rb-deleter-rb/</link>
<pubDate>Fri, 30 Oct 2009 18:45:23 +0000</pubDate>
<dc:creator>thinkingbox</dc:creator>
<guid>http://thinkingbox.wordpress.com/2009/10/30/replacer-rb-deleter-rb/</guid>
<description><![CDATA[From time to time I find myself needing to replace certain strings globally (eg: in a directory tree]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>From time to time I find myself needing to replace certain strings globally (eg: in a directory tree), or deleting lines based on a match. I find sed extremely annoying and I don&#8217;t manage to get around its syntax. So ruby comes in handy!</p>
<p><strong>replacer.rb</strong></p>
<pre style="padding-left:30px;">exp_search = '&#60;%=launchBean\.getCustomVersion\(\)%&#62;'
exp_replace = '${xsession.info.launchBean.customVersion}'
directory = '**/'
file_mask = '*.jsp'

Dir.glob(directory+file_mask).each do &#124;file&#124;
  File.open(file, 'r+') do &#124;f&#124;
    content = f.read
    if /#{exp_search}/ =~ content
      s = content.gsub(/#{exp_search}/, exp_replace)
      f.rewind
      f.write s
      puts "#{file}: #{content.split(/#{exp_search}/).size-1} matches"
    end
  end
end
</pre>
<p><strong>deleter.rb</strong></p>
<pre style="padding-left:30px;">exp_search = 'useBean.*launchBean'
directory = '**/'
file_mask = '*.jsp'

Dir.glob(directory+file_mask).each do &#124;file&#124;
  count = 0
  content = ""
  File.open(file, 'r+') do &#124;f&#124;
    while line = f.gets
      if /#{exp_search}/ =~ line
        count += 1
      else
        content = content &#60;&#60; line
      end
    end
  end
  if count &#62; 0
    File.open(file, 'w') do &#124;f&#124;
      f.write content
      puts "#{file}: #{count} lines deleted"
    end
  end
end
</pre>
<p>These commands are especially useful if you have to refactor a codebase that doesn&#8217;t provide direct support with refactoring tools. In this case, I was refactoring a few hundred JSPs of a legacy system.</p>
<p>Credits to <a title="Use Ruby Scripting File (RSF) to manage your files" href="http://snippets.dzone.com/posts/show/7533" target="_blank">RSF</a> &#38; <a title="Ruby One-Liners @ reference.jumpingmonkey.org" href="http://reference.jumpingmonkey.org/programming_languages/ruby/ruby-one-liners.html" target="_blank">Ruby One-Liners</a> for most of the code &#38; ideas. rcscript seems to be a bit too much for me at this time, I&#8217;m perfectly happy modifying replacer.rb and deleter.rb when I need it.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[clearcase vs. /proc//fd/.  clearcase within setview looses.]]></title>
<link>http://peeterjoot.wordpress.com/2009/10/27/clearcase-vs-procfd-clearcase-within-setview-looses/</link>
<pubDate>Tue, 27 Oct 2009 17:13:26 +0000</pubDate>
<dc:creator>peeterjoot</dc:creator>
<guid>http://peeterjoot.wordpress.com/2009/10/27/clearcase-vs-procfd-clearcase-within-setview-looses/</guid>
<description><![CDATA[Here&#8217;s a curious clash of virtual filesystems. Am trying to access my own processes&#8217; /pr]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Here&#8217;s a curious clash of virtual filesystems.  Am trying to access my own processes&#8217; /proc/-pid-/fd directory to investigate a file descriptor leak, and am unable to do so:</p>
<pre>$  ps -ef &#124; grep db2sysc &#124; grep peeter &#124; grep -v grep &#124; tail -1
peeterj   9318  9316 99 12:09 ?        01:03:14 db2sysc 0
$  cd /proc/9318/fd
bash: <span style="color:#ff0000;">cd: /proc/9318/fd: Permission denied
</span>$  cd /proc/9318
<span style="color:#ff0000;">$  ls
/bin/ls: cannot read symbolic link cwd: Permission denied
/bin/ls: cannot read symbolic link root: Permission denied
/bin/ls: cannot read symbolic link exe: Permission denied</span>
attr  cmdline  cwd      exe  loginuid     maps  mounts     oom_adj    root     smaps  statm   task
auxv  cpuset   environ  fd   mapped_base  mem   numa_maps  oom_score  seccomp  stat   status  wchan

I'd actually seen this before because we have code in our product that tries to access /proc/-pid-/stat stuff, and it doesn't work properly (sometimes and mysteriously).  Even odder, I can't even get at this as root</pre>
<pre># ps -o pid -o ruid -o euid -o suid -o fsuid -o fname -a &#124; grep $$
21861     0     0     0     0 sh
# cd /proc/9318/fd
sh: <span style="color:#ff0000;">cd: /proc/9318/fd: Permission denied
</span># cd /proc/9318
# ls
attr  cmdline  cwd      exe  loginuid     maps  mounts     oom_adj    root     smaps  statm   task
auxv  cpuset   environ  fd   mapped_base  mem   numa_maps  oom_score  seccomp  stat   status  wchan
# <span style="color:#ff0000;">ls -l
ls: cannot read symbolic link cwd: Permission denied
ls: cannot read symbolic link root: Permission denied
ls: cannot read symbolic link exe: Permission denied</span>
total 0
dr-xr-xr-x   2 peeterj pdxdb2 0 2009-10-27 12:11 attr
-r--------   1 peeterj pdxdb2 0 2009-10-27 12:10 auxv
</pre>
<p>Something funny is happening in the kernel, since my session does appear to have sufficient root-ish behaviour (even the linux filesystem fsuid is set right).  Turns out that this is some kind of clash between the clearcase version control virtual filesystem and the /proc virtual filesystem.  When I am in my view, even as root:</p>
<pre># /usr/atria/bin/cleartool pwv
Working directory view: ** NONE **
Set view: peeterj_o26
#</pre>
<p>I have no access to much of /proc/, but running as any old user when there is no trouble</p>
<pre>$  /usr/atria/bin/cleartool pwv
Working directory view: ** NONE **
Set view: ** NONE **
$  pwd
/proc/9318/fd</pre>
<p>What a bizarre quirk!  Glad to have this figured out &#8230; now back to the file descriptor leak.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Significance of Lost+found directory in Linux filesystem]]></title>
<link>http://2paisasbyviggy.wordpress.com/2009/10/26/significance-of-lostfound-directory-in-linux-filesystem/</link>
<pubDate>Mon, 26 Oct 2009 17:43:15 +0000</pubDate>
<dc:creator>viggyprabhu</dc:creator>
<guid>http://2paisasbyviggy.wordpress.com/2009/10/26/significance-of-lostfound-directory-in-linux-filesystem/</guid>
<description><![CDATA[Courtsey: http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/lostfound.html As was explained earlie]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Courtsey: http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/lostfound.html<br />
As was explained earlier during the overview of the FSSTND, Linux should always go through a proper shutdown. Sometimes your system might crash or a power failure might take the machine down. Either way, at the next boot, a lengthy filesystem check (the speed of this check is dependent on the type of filesystem that you actually use. ie. ext3 is faster than ext2 because it is a journalled filesystem) using fsck will be done. Fsck will go through the system and try to recover any corrupt files that it finds. The result of this recovery operation will be placed in this directory. The files recovered are not likely to be complete or make much sense but there always is a chance that something worthwhile is recovered. Each partition has its own lost+found directory. If you find files in there, try to move them back to their original location. If you find something like a broken symbolic link to &#8216;file&#8217;, you have to reinstall the file/s from the corresponding RPM, since your file system got damaged so badly that the files were mutilated beyond recognition. Below is an example of a /lost+found directory. As you can see, the vast majority of files contained here are in actual fact sockets. As for the rest of the other files they were found to be damaged system files and personal files. These files were not able to be recovered.</p>
<p>      total 368<br />
      -rw-r&#8211;r&#8211; 1 root root 110891 Oct 5 14:14 #388200<br />
      -rw-r&#8211;r&#8211; 1 root root 215 Oct 5 14:14 #388201<br />
      -rw-r&#8211;r&#8211; 1 root root 110303 Oct 6 23:09 #388813<br />
      -rw-r&#8211;r&#8211; 1 root root 141 Oct 6 23:09 #388814<br />
      -rw-r&#8211;r&#8211; 1 root root 110604 Oct 6 23:09 #388815a<br />
      -rw-r&#8211;r&#8211; 1 root root 194 Oct 6 23:09 #388816<br />
      srwxr-xr-x 1 root root 0 Oct 6 13:00 #51430<br />
      srwxr-xr-x 1 root root 0 Oct 6 00:23 #51433<br />
      -rw&#8212;&#8212;- 1 root root 63 Oct 6 00:23 #51434<br />
      srwxr-xr-x 1 root root 0 Oct 6 13:00 #51436<br />
      srwxrwxrwx 1 root root 0 Oct 6 00:23 #51437<br />
      srwx&#8212;&#8212; 1 root root 0 Oct 6 00:23 #51438<br />
      -rw&#8212;&#8212;- 1 root root 63 Oct 6 13:00 #51439<br />
      srwxrwxrwx 1 root root 0 Oct 6 13:00 #51440<br />
      srwx&#8212;&#8212; 1 root root 0 Oct 6 13:00 #51442<br />
      -rw&#8212;&#8212;- 1 root root 63 Oct 6 23:09 #51443<br />
      srwx&#8212;&#8212; 1 root root 0 Oct 6 10:40 #51445<br />
      srwxrwxrwx 1 root root 0 Oct 6 23:09 #51446<br />
      srwx&#8212;&#8212; 1 root root 0 Oct 6 23:09 #51448</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Configurando quota em disco no Linux - p1]]></title>
<link>http://ivanix.wordpress.com/2009/10/26/configurando-quota-em-disco-no-linux/</link>
<pubDate>Mon, 26 Oct 2009 03:29:33 +0000</pubDate>
<dc:creator>Nix</dc:creator>
<guid>http://ivanix.wordpress.com/2009/10/26/configurando-quota-em-disco-no-linux/</guid>
<description><![CDATA[Nos próximos posts vou falar sobre quotas em disco. A vantagem das quotas está no controle do espaço]]></description>
<content:encoded><![CDATA[Nos próximos posts vou falar sobre quotas em disco. A vantagem das quotas está no controle do espaço]]></content:encoded>
</item>
<item>
<title><![CDATA[The loss of ZFS]]></title>
<link>http://chimac.net/2009/10/25/the-loss-of-zfs/</link>
<pubDate>Sun, 25 Oct 2009 17:31:55 +0000</pubDate>
<dc:creator>chimac</dc:creator>
<guid>http://chimac.net/2009/10/25/the-loss-of-zfs/</guid>
<description><![CDATA[This is from a programmers point of view.  Gets into nice details about why this might not have been]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This is from a programmers point of view.  Gets into nice details about why this might not have been a good fit for Apples needs.  Click <a href="http://devwhy.blogspot.com/2009/10/loss-of-zfs.html" target="_self">here </a>to read more.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Where are the BSD Licensed "Enterprise Filesystems"?]]></title>
<link>http://serverhorror.wordpress.com/2009/10/25/where-are-the-bsd-licensed-enterprise-filesystems/</link>
<pubDate>Sun, 25 Oct 2009 17:28:51 +0000</pubDate>
<dc:creator>serverhorror</dc:creator>
<guid>http://serverhorror.wordpress.com/2009/10/25/where-are-the-bsd-licensed-enterprise-filesystems/</guid>
<description><![CDATA[A very simple question. Where is the &#8220;Enterprise Filesystem&#8221; licensed in a pure BSD way?]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><iframe src='http://digg.com/api/diggthis.php?u=http%3A%2F%2Fdigg.com%2Flinux_unix%2FWhere_are_the_BSD_Licensed_Enterprise_Filesystems' height='82' width='55' frameborder='0' scrolling='no' style='float: right; margin-left: 10px; margin-bottom: 5px; padding: 4px 0 2px 4px; background: #fff;'></iframe></p>
<p>A very simple question.</p>
<blockquote><p>Where is the &#8220;Enterprise Filesystem&#8221; licensed in a pure BSD way?</p></blockquote>
<p>I know <a href="http://en.wikipedia.org/wiki/Zfs">ZFS</a> has been implemented by OpenSolaris (well yeah&#8230;that&#8217;s the origin of ZFS) as well as <a href="http://www.freebsd.org">FreeBSD</a> but the <a href="http://en.wikipedia.org/wiki/Common_Development_and_Distribution_License">CDDL</a> is not without critique in the BSD community. The <a href="http://www.openbsd.org">OpenBSD</a> <a href="http://marc.info/?l=openbsd-tech&#38;m=110806948606417&#38;w=2">people consider the CDDL even more restrivtive than GNU/GPL</a>.</p>
<p>So a question to all the guys and girls who are able to create a filesystem (I can&#8217;t my coding skills are nowhere near to be able to create one), where is the BSD licensed filesystem with all the new features that make a hype?</p>
<p>I&#8217;m thinking about stuff like this (thou maybe not complete, somebody may have an absolutely usefull new idea that obsoletes all these features</p>
<ul>
<li><a href="http://en.wikipedia.org/wiki/Snapshot_(computer_storage)">Snapshots</a> (<a href="http://en.wikipedia.org/wiki/Btrfs">BTRFS</a>, ZFS)
<ul>
<li><a href="http://en.wikipedia.org/wiki/Versioning_file_system">Continous Snapshots (Versioning File System)</a> (<a href="http://en.wikipedia.org/wiki/Nilfs">NILFS</a>)</li>
</ul>
</li>
<li><a href="http://en.wikipedia.org/wiki/Copy_on_write">COW (Copy on Write)</a> (BTRFS, ZFS)</li>
<li><a href="http://en.wikipedia.org/wiki/Logical_volume_management">Volume Management built-in</a> (BTRFS, ZFS)</li>
<li><a href="http://en.wikipedia.org/wiki/RAID">RAID (like) features built-in the filesystem</a> (BTRFS, ZFS)</li>
<li>Really large maximum filesizes and<sup>*</sup></li>
<li>Really large maximum filesystem sizes<sup>*</sup></li>
</ul>
<p><sup><strong>*</strong></sup>This may not be a Problem now, but I do get why Sun chose to make ZFS a 128-bit filesystem</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Apache - Sezioni nel file di configurazione]]></title>
<link>http://poyblog.wordpress.com/2009/10/20/apache-sezioni-nel-file-di-configurazione/</link>
<pubDate>Tue, 20 Oct 2009 15:46:28 +0000</pubDate>
<dc:creator>poyblog</dc:creator>
<guid>http://poyblog.wordpress.com/2009/10/20/apache-sezioni-nel-file-di-configurazione/</guid>
<description><![CDATA[Le direttive presenti in un file di configurazione possono essere applicate a tutto il server, oppur]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } 		A:link { so-language: zxx } --></p>
<p style="margin-bottom:0;font-weight:normal;" align="left"><span style="font-size:small;"><span style="font-style:normal;">Le direttive presenti in un file di configurazione possono essere applicate a tutto il server, oppure ristrette a certe directory, file, host o URL. In questo articolo verranno descritte le </span></span><span style="font-size:small;"><span style="font-style:normal;"><strong>sezioni </strong></span></span><span style="font-size:small;"><span style="font-style:normal;">, come utilizzarle al meglio per personalizzare e rendere efficae la configurazione del server Web Apache.</span></span></p>
<p style="margin-bottom:0;font-weight:normal;" align="left"><!--more--></p>
<p style="margin-bottom:0;font-weight:normal;" align="left"><span style="font-size:small;"><span style="font-style:normal;">Ecco un primo elenco di tali </span></span><span style="font-size:small;"><span style="font-style:normal;"><strong>sezioni</strong></span></span><span style="font-size:small;"><span style="font-style:normal;">:</span></span></p>
<ul>
<li>
<p style="margin-bottom:0;" align="left"><span style="font-size:small;"><em><strong>IfDefine</strong></em></span><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;"> , racchiude direttive che vengono considerate solo nel caso in cui 	il comando apache2 viene lanciato con l&#8217;appropriato parametro.</span></span></span></p>
<p style="margin-bottom:0;" align="left"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">Esempio:</span></span></span></p>
</li>
</ul>
<p style="margin-bottom:0;" align="left"><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><em><span style="font-weight:normal;"> </span></em></span></span><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><em><span style="font-weight:normal;">&#60;IfDefine ClosedForNow&#62;<br />
Redirect / http://otherserver.example.com/<br />
&#60;/IfDefine&#62; </span></em></span></span></code></p>
<p style="margin-bottom:0;" align="left"><strong><span style="font-size:small;"><span style="font-style:normal;"> </span></span></strong><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">In questo caso la re direzione ha effetto solo se apache viene avviato con:</span></span></span></p>
<p style="margin-bottom:0;" align="left"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;"> </span></span></span><span style="font-size:small;"><em><span style="font-weight:normal;">apache2ctl -DclosedForNow</span></em></span></p>
<ul>
<li>
<p style="margin-bottom:0;" align="left"><em><span style="font-size:small;"><strong>IfModule</strong></span></em><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">, 	è molto simile alla sezione precedente, l&#8217;unica differenza è che 	viene applicata solo nel caso in cui il modulo specificato è 	presente sul server</span></span></span></p>
</li>
<li>
<p style="margin-bottom:0;" align="left"><em><strong><span style="font-size:small;">IfVersion</span></strong></em><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">, 	viene considerata solo nel caso in cui la versione del server Web 	coincide con  il parametro.</span></span></span></p>
<p style="margin-bottom:0;" align="left"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">Esempio:</span></span></span></p>
<ul>
<li>
<ul>
<p style="margin-bottom:0;" align="left"><em><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-weight:normal;">&#60;IfVersion 			&#62;= 2.1&#62;<br />
#  Si applica solo la versione è superiore alla 			2.1<br />
&#60;/IfVersion&#62; </span></span></span></code></em></p>
</ul>
</li>
</ul>
</li>
</ul>
<p style="margin-bottom:0;" align="left">
<p style="margin-bottom:0;" align="left"><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">Le sezioni maggiormente utilizzate sono quelle che modificano il comportamento del web server in base alla posizione relativa al filesystem o allo spazio web. Prima è però necessario comprendere la differenza fra questi due concetti:</span></span></span></span></code></p>
<ol>
<li>
<p style="margin-bottom:0;" align="left"><strong><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;">Filesystem</span></span></span></code></strong></p>
<p style="margin-bottom:0;" align="left"><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">In 	questo caso si considera una vista del server web sul filesystem, 	così come  viene effettuata dal sistema operativo</span></span></span></span></code></p>
</li>
<li>
<p style="margin-bottom:0;" align="left"><strong><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;">Spazio 	Web</span></span></span></code></strong></p>
<p style="margin-bottom:0;" align="left"><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">In 	questo caso si considera solo la porzione di disco visibile ad 	apache, ovvero dalla sua root in poi. In Ubuntu solitamente dalla 	cartella </span></span></span></span></code><em><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-weight:normal;">/var/www</span></span></span></code></em></p>
</li>
</ol>
<p style="margin-bottom:0;" align="left">
<p style="margin-bottom:0;" align="left"><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">La differenza più importante fra queste due categorie di viste è che lo spazio web non è mappato direttamente sul file system, ma è in grado di gestire pagine create dinamicamente, per esempio estratte da un database.</span></span></span></span></code></p>
<p style="margin-bottom:0;" align="left">
<p style="margin-bottom:0;" align="left"><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">Parliamo ora di Sezioni relative al </span></span></span></span></code><strong><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;">Filesystem</span></span></span></code></strong></p>
<ul>
<li>
<p style="margin-bottom:0;" align="left"><em><strong><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;">Directory</span></span></code></strong></em><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">, 	le direttive contenute si applicano a quella directory presente su 	filesystem.</span></span></span></span></code></p>
<p style="margin-bottom:0;" align="left"><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">Esempio:</span></span></span></span></code></p>
<ul>
<li>
<ul>
<p style="margin-bottom:0;" align="left"><em><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-weight:normal;">&#60;Directory 			/var/web/dir1&#62;<br />
Options +Indexes<br />
&#60;/Directory&#62; </span></span></span></code></em></p>
</ul>
</li>
</ul>
</li>
<li>
<p style="margin-bottom:0;" align="left"><em><strong><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;">Files</span></span></code></strong></em><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">, 	in questo caso le direttive si applicano a ogni singolo file con 	nome congruente (attraverso tutte le directory). Questo comando può 	essere combinato con quello precedente, in modo tale da applicare 	la/e direttiva solo a determinati file contenuti in una determinata 	directory</span></span></span></span></code></p>
<p style="margin-bottom:0;" align="left"><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">Esempio:</span></span></span></span></code></p>
<ul>
<li>
<ul>
<p style="margin-bottom:0;" align="left"><em><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-weight:normal;">&#60;Directory 			/var/web/dir1&#62;<br />
&#60;Files private.html&#62;<br />
Order 			allow,deny<br />
Deny from all<br />
&#60;/Files&#62;<br />
&#60;/Directory&#62;</span></span></span></code></em><code><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;"> </span></span></span></code></p>
</ul>
</li>
</ul>
</li>
</ul>
<p style="margin-bottom:0;" align="left">
<p style="margin-bottom:0;" align="left"><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">Per quanto riguarda le Sezioni relativa allo </span></span></span></span></code><strong><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;">Spazio Web</span></span></span></code></strong><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;"> </span></span></span></span></code></p>
<ul>
<li>
<p style="margin-bottom:0;" align="left"><em><strong><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="text-decoration:none;">Location</span></span></span></code></strong></em><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">, 	le direttive contenute in questa sezione si applicano a tutti gli 	url che coincideranno con quello spazio web. Nell'esempio mostrato 	poco sotto qualsiasi pagina richiamata tramite URL che contiene 	/private non verrà visualizzata (<a href="http://mysite/provate">http://mysite/private</a> e <a href="http://mysite/private123/dir/ciao.html">http://mysite/private123/dir/ciao.html</a> )</span></span></span></span></code></p>
<p style="margin-bottom:0;" align="left"><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">Esempio</span></span></span></span></code></p>
<ul>
<li>
<ul>
<p style="margin-bottom:0;" align="left"><em><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-weight:normal;">&#60;Location 			/private&#62;<br />
Order Allow,Deny<br />
Deny from all<br />
&#60;/Location&#62; </span></span></span></code></em></p>
</ul>
</li>
</ul>
</li>
</ul>
<p style="margin-bottom:0;" align="left">
<p style="margin-bottom:0;" align="left"><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">In combinazione con le sezioni </span></span></span></span></code><em><strong><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;">Location, Directory </span></span></code></strong></em><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">e</span></span></span></span></code><strong><em><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"> Files</span></span></code></em></strong><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;"> si possono utilizzare delle wildcard simili a quelle utilizzabili via shell per indicare:</span></span></span></span></code></p>
<ul>
<li>
<p style="margin-bottom:0;" align="left"><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">* 	→ qualsiasi sequenza di caratteri</span></span></span></span></code></p>
</li>
<li>
<p style="margin-bottom:0;" align="left"><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">? 	→ ogni singolo carattere</span></span></span></span></code></p>
</li>
<li>
<p style="margin-bottom:0;" align="left"><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">etc 	..</span></span></span></span></code></p>
</li>
</ul>
<p style="margin-bottom:0;" align="left">
<p style="margin-bottom:0;" align="left"><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">Oppure si possono utilizzare le più flessibili: </span></span></span></span></code><em><strong><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;">DirectoryMatch, FilesMatch </span></span></code></strong></em><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">e </span></span></span></span></code><strong><em><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;">LocationMatch </span></span></code></em></strong><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">che permettono di utilizzare espressioni regolari stile Perl.</span></span></span></span></code></p>
<p style="margin-bottom:0;" align="left">
<p style="margin-bottom:0;" align="left"><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">La scelta fra un a sezione a livello di filesystem ed una a livello di spazio web è semplice, si deve scegliere la prima opzione nel caso in cui si vogliano gestire delle direttive legate al filesystem (oscurare una directory fisica), utilizzare la seconda quando si vuole gestire qualcosa che non è legato al filesystem (come già detto una pagina generata dinamicamente).</span></span></span></span></code></p>
<p style="margin-bottom:0;" align="left">
<p style="margin-bottom:0;" align="left"><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">Altre sezioni sono:</span></span></span></span></code></p>
<ul>
<li>
<p style="margin-bottom:0;" align="left"><em><strong><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;">VirtualHost</span></span></code></strong></em><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">, 	sono direttive applicate a specifici host. Tale sezione viene 	utilizzata quando su un unico server Web risiedono più siti. 	Ritorneremo in seguito su questa sezione, dato che ha una certa 	rilevanza in serer multi dominio.</span></span></span></span></code></p>
</li>
<li>
<p style="margin-bottom:0;" align="left"><em><strong><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="text-decoration:none;">Proxy</span></span></span></code></strong></em><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-weight:normal;">, 	 tale sezione applica le proprie direttive solo verso quei siti 	acceduti tramite il modulo </span></span></span></span></span></code><em><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="text-decoration:none;"><span style="font-weight:normal;">mod_proxy</span></span></span></span></code></em><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-weight:normal;"> , che deve matchare l'URL fornita, ecco un esempio:</span></span></span></span></span></code></p>
<ul>
<li>
<ul>
<p style="margin-bottom:0;" align="left"><em><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="text-decoration:none;"><span style="font-weight:normal;">&#60;Proxy 			http://mysite.org/*&#62;<br />
Order allow,deny<br />
Deny from 			all<br />
&#60;/Proxy&#62;</span></span></span></span></code></em><code><span style="font-size:small;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-weight:normal;"> </span></span></span></span></code></p>
</ul>
</li>
</ul>
</li>
</ul>
<p style="margin-bottom:0;" align="left">
<p style="margin-bottom:0;" align="left"><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-weight:normal;">In ultima analisi affrontiamo lo </span></span></span></span></span></code><strong><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="text-decoration:none;">scope</span></span></span></span></code></strong><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-weight:normal;"> delle sezioni, ovvero quali direttive hanno precedenza? </span></span></span></span></span></code></p>
<p style="margin-bottom:0;" align="left"><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-weight:normal;">Quali vengono applicate in caso di conflitto? </span></span></span></span></span></code></p>
<p style="margin-bottom:0;" align="left"><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-weight:normal;">Ecco una lista ordinata per grado di visibilità crescente (dall'alto verso il basso):</span></span></span></span></span></code></p>
<ol>
<li>
<p style="margin-bottom:0;" align="left"><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-weight:normal;">Directory 	e .htaccess </span></span></span></span></span></code></p>
</li>
<li>
<p style="margin-bottom:0;" align="left"><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-weight:normal;">DirectoryMacth</span></span></span></span></span></code></p>
</li>
<li>
<p style="margin-bottom:0;" align="left"><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-weight:normal;">Files 	e FilesMatch</span></span></span></span></span></code></p>
</li>
<li>
<p style="margin-bottom:0;" align="left"><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-weight:normal;">Location 	e LocationMatch </span></span></span></span></span></code></p>
</li>
</ol>
<p style="margin-bottom:0;" align="left">
<p style="margin-bottom:0;" align="left"><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-weight:normal;">Tutte le direttive vengono processate così come sono ordinate nel file di configurazione, tranne quelle presenti nelle sezioni </span></span></span></span></span></code><em><strong><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="text-decoration:none;">Directory</span></span></span></code></strong></em><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-weight:normal;">, che vengono applicate in base alla profondità dell'albero, ovvero prima </span></span></span></span></span></code><em><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="text-decoration:none;"><span style="font-weight:normal;">&#60;Directory /var/web/a&#62;</span></span></span></span></code></em><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-weight:normal;"> poi </span></span></span></span></span></code><em><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="text-decoration:none;"><span style="font-weight:normal;">&#60;Directory /var/web/a/suba&#62;</span></span></span></span></code><strong><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="text-decoration:none;"> </span></span></span></code></strong></em></p>
<p style="margin-bottom:0;" align="left">
<p style="margin-bottom:0;" align="left"><code><span style="text-decoration:none;"> <span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="font-weight:normal;">Le considerazioni sullo scope non sono banali e sono da comprendere a fondo, una errata configurazione può compromettere il livello di sicurezza di apache, eccone un esempio:</span></span></span></span></span></code></p>
<p style="margin-bottom:0;" align="left"><em><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="text-decoration:none;"><span style="font-weight:normal;"> </span></span></span></span></code></em></p>
<p style="margin-bottom:0;" align="left"><em><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="text-decoration:none;"><span style="font-weight:normal;"> &#60;Location /&#62;<br />
Order deny,allow<br />
Allow from all<br />
&#60;/Location&#62;</span></span></span></span></code></em></p>
<p><em># Attenzione , questa directory non ha effetto, per ciò che sta scritto sopra!!<br />
&#60;Directory /&#62;<br />
Order allow,deny<br />
Allow from all<br />
Deny from badguy.example.com<br />
&#60;/Directory&#62; </em></p>
<p style="margin-bottom:0;" align="left">
<p style="margin-bottom:0;" align="left"><code><span style="font-family:Liberation Serif,serif;"><span style="font-size:small;"><span style="font-style:normal;"><span style="text-decoration:none;"><span style="font-weight:normal;">Tutti avranno accesso alla root del mio server anche chi proviene da badguy.example.com</span></span></span></span></span></code></p>
<p style="margin-bottom:0;" align="left">
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[10 Reasons You Need to Look at ZFS]]></title>
<link>http://madhavkobal.wordpress.com/2009/10/08/10-reasons-you-need-to-look-at-zfs/</link>
<pubDate>Thu, 08 Oct 2009 17:51:29 +0000</pubDate>
<dc:creator>madhavkobal</dc:creator>
<guid>http://madhavkobal.wordpress.com/2009/10/08/10-reasons-you-need-to-look-at-zfs/</guid>
<description><![CDATA[Sun&#8217;s open-source ZFS file system has some amazing features. It was originally designed for So]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Sun&#8217;s open-source ZFS file system has some amazing features. It was originally designed for Solaris and unveiled in 2005, but you&#8217;ll also find it in OpenSolaris and related distributions. In the future it may well become a popular file system to run with Linux and BSD as well.</p>
<p>Here are the top 10 features that ZFS fans find insanely great:</p>
<h3>1. Checksums in Metadata for Data Integrity</h3>
<p>Data integrity is of paramount importance in ZFS, and is the driver for many ZFS features.</p>
<p>The file system uses a 256-bit checksum, which is stored as metadata separate from the data it relates to, when it writes information to disk. Unlike a simple disk block checksum, this can detect phantom writes, misdirected reads and writes, DMA parity errors, driver bugs and accidental overwrites as well as traditional &#8220;bit rot.&#8221;</p>
<h3>2. Copy on Write</h3>
<p>ZFS ensures that data is always consistent on the disk using a number of techniques, including copy-on-write. What this means is that when data is changed it is not overwritten — it is always written to a new block and checksummed before pointers to the data are changed. The old data may be retained, creating snapshots of the file system through time as changes are made. File writes using ZFS are transactional — either everything or nothing is written to disk.</p>
<h3>3. Data Snapshots With Time Slider</h3>
<p>The latest version of OpenSolaris illustrates the power for ZFS&#8217;s snapshots capability with a small graphical application called TimeSlider. ZFS can be configured to take a snapshot of the file system (or a section of it, such as just a user&#8217;s home folder) on a regular basis — every 15 minutes, or every hour, and so on. These snapshots are very small and efficient, as only the deltas from the previous snapshot are stored.</p>
<p>TimeSlider offers a view of the file system (or a home folder), with a slider which can be moved back along a timeline to earlier snapshot times. As this is done, the view changes to show they state of the file system or the contents of a folder at the corresponding snapshot time. Recovering a file that has been overwritten by mistake or rolling back the system after an unsuccessful update is then just a matter of moving the slider back to the appropriate snapshot time.</p>
<p>Snapshots can also be made writable to create clones of existing file systems.</p>
<h3>4. Pooled Data Storage</h3>
<p>ZFS takes available storage drives and pools them together as a single resource, called a zpool. This can be optimized for capacity, or I/O performance, or redundancy, using striping, mirroring or some form of <a title="Webopedia Entry: RAID" href="http://networking.webopedia.com/TERM/R/RAID.html">RAID</a>. If more storage is needed then more drives can simply be added to the zpool — ZFS sees the new capacity and starts using it automatically, balancing I/O and maximizing throughput.</p>
<h3>5. RAIDZ and RAIDZ2</h3>
<p>RAID 5 has a well known flaw called the RAID 5 write hole. This causes a problem when a data block is written to a stripe but a power failure occurs before the corresponding parity block can be written. As a result the data and parity for the stripe will be inconsistent. If a disk then fails, the RAID reconstruction process will result in incorrect data. The only way out of this is if an entire stripe happens to be overwritten, thus generating a correct parity block.</p>
<p>RAIDZ gets around this problem by using a variable width stripe, so every write is effectively a full stripe write. This, together with ZFS&#8217;s copy on write characteristic (mentioned above,) eliminates the RAID 5 write hole completely. RAIDZ2 works in a similar way, but can tolerate the loss of two disks in the array using double parity.</p>
<p>Setting up a RAIDZ (or RAIDZ2) array is very easy and involves issuing one command</p>
<h3>6. SSD Hybrid Storage Pools</h3>
<p>High performance SSDs can be added to a storage pool to create a hybrid storage pool. When these are configured as high performance cache disks, ZFS uses them to hold frequently accessed data to improve performance. It also uses a technology called L2 ARC (adaptive replacement cache) to write data that has to be stored immediately. This can slowly be moved over to conventional hard drives for more permanent storage when time and resources allow.</p>
<h3>7. Capacity</h3>
<p>ZFS is a 128-bit file system, which means that in theory it could store 256 quadrillion ZB (a ZB is a billion TB.) In practice this is larger than would ever be necessary, for the foreseeable future at least.</p>
<h3>8. Data Scrubbing</h3>
<p>ZFS can be made to scrub all the data in a storage pool, checking each piece of data with its corresponding checksum to verify its integrity, detect any silent data corruption, and to correct any errors in encounters where possible.</p>
<p>When the data is stored in a redundant fashion — in a mirrored or RAID-type array — it can correct any corrupt data it detects invisibly and without any administrator intervention. Since data corruption is logged, ZFS can bring to light defects in memory modules (or other hardware) which cause data to be stored on hard drives incorrectly.</p>
<p>Scrubbing is given low I/O priority so that it has a minimal effect on system performance, and can operate while the storage pool that is being scrubbed is in use.</p>
<h3>9 . Simple, Efficient Administration</h3>
<p>Using ZFS commands you can administer a system with short, efficient commands. For example, a five disk RAIDZ array could be set up with the single command:</p>
<p><tt>zpool create poolname raidz c1t0d0 c2t0d0 c3t0d0 c4t0d0 c5t0d0</tt></p>
<h3>10. More on the Way</h3>
<p>ZFS is still evolving, and new features will appear regularly. The roadmap for 2009 includes encryption for increased security, and data deduping to increase storage efficiency.</p>
<p>If you are interested in trying ZFS out then the easiest way is to get started is to download OpenSolaris or related distro from <a href="http://opensolaris.org/os/downloads/">http://opensolaris.org/os/downloads/</a>. There is also a  <a href="http://www.wizy.org/wiki/ZFS_on_FUSE">ZFS for FUSE/Linux project</a>, and you can watch <a href="//www.internet.com/player/index.php?bcpid=1534611832&#38;bclid=1433966019&#38;bctid=17308041001','myWindow','width=790,height=620,resizable=no');NewWindow.focus();%20void(0)">ZFS: A hands on tutorial</a>.</p>
<p>Paul Rubens</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Pen USB não deixa escrever/apagar]]></title>
<link>http://debiandicas.wordpress.com/2009/10/07/pen-usb-nao-deixa-escreverapagar/</link>
<pubDate>Wed, 07 Oct 2009 15:27:31 +0000</pubDate>
<dc:creator>ovigia</dc:creator>
<guid>http://debiandicas.wordpress.com/2009/10/07/pen-usb-nao-deixa-escreverapagar/</guid>
<description><![CDATA[Depois de há tempos ter oferecido a mim mesmo a minha prenda de Natal antecipada, o Egreat 34A NMT, ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Depois de há tempos ter oferecido a mim mesmo a minha prenda de Natal antecipada, o <a href="http://ovigia.wordpress.com/2009/07/02/tanta-coisa-boa-a-correr-gnulinux-o-que-escolher-popcorn-egreat-xtreamer-wd-hdtv/">Egreat 34A NMT</a>, uma fabulosa caixinha a correr GNU/Linux que <a href="http://www.egreatworld.com/en/ProductShow.asp?ID=168">permite tudo isto</a>&#8230;.</p>
<p>Hoje quando vou a copiar os dois primeiros episódios do Stargate Universe, qual não é o meu espanto quando a pen usb de 4Gb que costumo usar, apesar do <b>$mount</b> dizer que a tinha tentado e teria montado como Read/Write, ao copiar ficheiros para ela, recebo erro a indicar que esta está Read Only.</p>
<p>Experimento fazer <b>#mount -o remount,rw /dev/sda1</b> para ver o que acontece e ela é novamente montada como Read/Write mas continua a dar o mesmo erro, não se consegue escrever voltando a ficar Read only.</p>
<p>Dei olhada ao <b>#less /var/log/messages</b> e realmente havia lá qualquer coisa que não batia certo&#8230;<br />
<blockquote><b><i>#tail -f /var/log/messages</i></b><br /><i>Oct&#160; 7 14:42:25 solaris kernel: [17476.557699] lost page write due to I/O error on sda1</i> <i>Oct&#160; 7 14:42:25 solaris kernel: [17476.557705] lost page write due to I/O error on sda1</i><br /><i>Oct&#160; 7 14:42:25 solaris kernel: [17476.557711] lost page write due to I/O error on sda1</i><i> Oct&#160; 7 14:42:25 solaris kernel: [17476.557718] lost page write due to I/O error on sda1</i><br /><i>Oct&#160; 7 14:42:25 solaris kernel: [17476.557724] lost page write due to I/O error on sda1 </i><i>Oct&#160; 7 14:42:25 solaris kernel: [17476.557732] lost page write due to I/O error on sda1</i><br /><i>Oct&#160; 7 14:42:25 solaris kernel: [17476.557738] lost page write due to I/O error on sda1 </i><i>Oct&#160; 7 14:42:26 solaris kernel: [17477.703770] sd 1:0:0:0: [sda] 8060927 512-byte hardware sectors: (4.12 GB/3.84 GiB)</i></p></blockquote>
<p>A pen já vinha formatada com VFAT e nunca até hoje havia modificado nada, mas parece que está na altura de colocar lá um filesystem a sério, <b>#aptitude update&#38;&#38;aptitude install gparted</b> e segue a venerável <b><a href="http://en.wikipedia.org/wiki/Ext2">ext2</a></b> para bingo!</p>
<p>Também se poderia ir pelo caminho mais rápido e leve da CLI, linha de comandos.</p>
<p><b>#fdisk -l<br /># mkfs.ext2 /dev/sda1<br />
</b><br /><b>#e2label /dev/sda1 pen4gb<br />#chown -R username:username /media/pen4gb</b></p>
<p>Numa googlada rápida há quem diga que isto pode acontecer devido a l<a href="http://www.linuxquestions.org/questions/showthread.php?p=2536462#post2536462">imitações do filesystem VFAT da microsoft&#8230;.</a></p>
<p class="scribefire-powered">Powered by <a href="http://www.scribefire.com/">ScribeFire</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[How to find the IO stats of filesystem?]]></title>
<link>http://oraclespin.wordpress.com/2009/10/05/how-to-find-the-io-stats-of-filesystem/</link>
<pubDate>Tue, 06 Oct 2009 04:56:36 +0000</pubDate>
<dc:creator>Amin Jaffer</dc:creator>
<guid>http://oraclespin.wordpress.com/2009/10/05/how-to-find-the-io-stats-of-filesystem/</guid>
<description><![CDATA[Using v$filestat one can find the physical reads and writes to datafiles it also includes reads done]]></description>
<content:encoded><![CDATA[Using v$filestat one can find the physical reads and writes to datafiles it also includes reads done]]></content:encoded>
</item>
<item>
<title><![CDATA[How to determine raw (unmounted) disk file system type]]></title>
<link>http://geektivities.wordpress.com/2009/10/05/how-to-determine-raw-unmounted-disk-file-system-type/</link>
<pubDate>Mon, 05 Oct 2009 14:51:31 +0000</pubDate>
<dc:creator>thandle</dc:creator>
<guid>http://geektivities.wordpress.com/2009/10/05/how-to-determine-raw-unmounted-disk-file-system-type/</guid>
<description><![CDATA[sudo fdisk -ls]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><code>sudo fdisk -ls</code></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Creator Type]]></title>
<link>http://bpdobson.wordpress.com/2009/10/03/creator-type/</link>
<pubDate>Sat, 03 Oct 2009 19:43:21 +0000</pubDate>
<dc:creator>Benjamin Dobson</dc:creator>
<guid>http://bpdobson.wordpress.com/2009/10/03/creator-type/</guid>
<description><![CDATA[In Mac OS X 10.6 Snow Leopard, Apple stopped using creator codes to decide with which application to]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>In Mac OS X 10.6 Snow Leopard, Apple stopped using creator codes to decide with which application to open a file. (For those who don&#8217;t know, creator codes are four-character strings stored in the metadata of files on the Mac OS.)</p>
<p>I don&#8217;t know much about how they work, but to me the idea of deciding with which application to open a file based on the file&#8217;s metadata seems intrinsically flawed.</p>
<h2>A User Preference</h2>
<p>The classic argument for creator metadata goes something like this: Person creates file in Photoshop. Person saves file. The next day, Person opens file again. It opens in Photoshop, because they presumably want to continue working on the Photoshop file.</p>
<p>This argument works fine, as long as Person opens the document. If Leprechaun opens the file, it is completely unreasonable to assume they want to open it in slow heavy Photoshop instead of fast light Preview. It would be like forcing someone to get a pen before opening a letter.</p>
<p>Of course, some people say that if you wanted to preview the file, you would press Space to activate Quick Look. Well, you might. However, as a user, I reserve the right to not behave in a completely predictable manner. Additionally, QuickLooking is impossible if the file type in question isn&#8217;t supported.</p>
<p>(Now is a good time to reiterate that I do not know all the details of how creator codes worked. And don&#8217;t complain to me about split infinitives. I <em>like </em>split infinitives.)</p>
<h2>Creator, Editor, Viewer</h2>
<p>Creator codes identify the application which created the file. So imagine if somebody was doing a piece of art on their computer using a photograph as a starting point. It would be perfectly reasonable to copy the file to the desired location, open it in Photoshop and start working on it.</p>
<p>At the end of the day, they close the file, ready to resume working on it in the morning. The next day, they double-click the file, expecting it to open in Photoshop. But instead it opens in Preview, because it doesn&#8217;t have the required creator metadata. Photoshop didn&#8217;t create the file, it only edited it, so it falls back on the default application for public.jpeg.</p>
<p>As far as I can see, any preference for opening files which is tied to the file, not the user, is broken. The Snow Leopard solution (i.e. nothing) isn&#8217;t very good, and I do think that file extensions are icky. However, this is and must always be a user preference.</p>
<p>I have no solution. I just have the problem.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Playing Nice with Filesystems]]></title>
<link>http://blog.thewheatfield.org/2009/10/02/playing-nice-with-filesystems/</link>
<pubDate>Thu, 01 Oct 2009 23:49:35 +0000</pubDate>
<dc:creator>thewheat</dc:creator>
<guid>http://blog.thewheatfield.org/2009/10/02/playing-nice-with-filesystems/</guid>
<description><![CDATA[If you have played around with any 2 of the 3 major operating systems (Windows, OS X and Linux) and ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>If you have played around with any 2 of the 3 major operating systems (Windows, OS X and Linux) and start transferring files to and from external hard disk you will probably run into an issue with the type of <a href="http://en.wikipedia.org/wiki/File_system">filesystem</a> you choose for your hard disk. Windows likes <a href="http://en.wikipedia.org/wiki/NTFS">NTFS</a>, OS X likes <a href="http://en.wikipedia.org/wiki/Hierarchical_File_System">HFS</a> and Linux likes <a href="http://en.wikipedia.org/wiki/Extended_file_system">ext</a>. As you can see none of them are the same. Being different is not so much an issue, but being compatible and accessible to all is.</p>
<p>Based on default system settings:</p>
<ul>
<li><strong>NTFS</strong> is readable on all operating systems, but not writable on OS X. Most modern Linux distributions can write to NTFS drives</li>
<li><strong>HFS</strong> is readable on OS X and modern Linux distributions, and not writable on Windows or Linux</li>
<li><strong>ext</strong> is only readable on Linux and not writable on Windows or OS X.</li>
</ul>
<p>or to put it based on operating system</p>
<ul>
<li><strong>Windows</strong> can only read and write to NTFS, nothing else</li>
<li><strong>OS X</strong> can read and write to HFS and read NTFS</li>
<li><strong>Linux</strong> can read and write to ext and NTFS and read HFS</li>
</ul>
<p>Take note that there is also the older FAT32 filesystem that is fully supported for reading and writing by all operating systems but due to <a href="http://support.microsoft.com/kb/314463">limitations of FAT32</a>, I rather not consider this. Basically the main issues with FAT32 is that the maximum file size is 4GB and the maximum partition size is 32GB. If these are limitations you can deal with, for the sake for interoperability stick with FAT32.</p>
<p>Now to solve the problem of support for each filesystem in each operating system:</p>
<p><strong>NTFS: </strong></p>
<ul>
<li><strong>OS X</strong>: <a href="http://www.ntfs-3g.org/">NTFS-3G</a> + <a href="http://code.google.com/p/macfuse/">MacFUSE</a></li>
<li><strong>Linux</strong>: <a href="http://www.ntfs-3g.org/">NTFS-3G</a></li>
<li>I&#8217;ve been using NTFS-3G in Linux for many years and haven&#8217;t had any problems with it and so far it&#8217;s working well with OS X too</li>
<li>On another note if the NTFS drive is not unmounted properly or there are some issues with the file system integrity, it is necessary to use Windows scan disk to rectify the problem. Thus this requires a copy of Windows to fix the filesystem.</li>
</ul>
<p><strong>ext:</strong></p>
<ul>
<li><strong>Windows</strong>: <a href="http://www.fs-driver.org/">Ext2 Installable File System for Windows</a></li>
<li><strong>OS X</strong>: <a href="http://sourceforge.net/projects/ext2fsx/">Mac OS X Ext2 filesystem</a></li>
<li>I&#8217;ve had issues of only being able to mount an ext2 partition in Linux and it gave a mount error in Windows and OS X and was due to an inode issue as new Linux distributions create the file system with inodes of 256 bytes but Ext2 fs only supports the older version with 128 bytes. And the only solution is to back up the files, and reformat partition with inodes of 128 bytes (-I 128) and restore the files.</li>
<li>Filesystem integrity issues should be able to be fixed with &#8220;fsck&#8221; from a Linux distribution / live CD. The great thing about this is that you can get a Linux distribution for free and this recovery can be done with out any strings attached.</li>
</ul>
<p><strong>HFS:</strong></p>
<ul>
<li><strong>Windows</strong>: <a href="http://www.mediafour.com/products/macdrive">MacDrive</a> (US$50, read and write), <a href="http://www.paragon-software.com/home/hfs-windows/">Paragon HFS for Windows</a> (read only)</li>
<li><strong>Linux</strong>: <a href="http://www.ubuntuproductivity.com/journal/macintosh/08/2009/readwrite-to-hfs-on-ubuntu/">Enabling HFS writing in Ubuntu</a></li>
<li>Note: I have not personally tested these so I cannot give first hand experience of how well it works or what issues can be had with this.</li>
<li>I believe that HFS+ journal</li>
<li>I would believe any filesystem repairs would have to be done in OS X (similar to NTFS and Windows) and if so this enforces that you have OS X at hand, and in order to have OS X you must have Apple hardware or a <a href="http://www.hackintosh.com/">Hackintosh</a> either way this is very restrictive.</li>
</ul>
<p>So it is pretty easy to get full read and write support of all 3 default file systems on the 3 major OS&#8217;s but there are issues. So far I&#8217;m inclined to stick with ext2/ext3 just due to the fact that it has no restrictions in terms of filesystem repair. I&#8217;ve had many NTFS issues related to damaged filesystems that required Windows and the inconvenience of taking the drive out of my box to find a Windows box was too much.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Festplatte mit Windows teilen: NTFS am Mac]]></title>
<link>http://apfelblitz.wordpress.com/2009/09/28/festplatte-mit-windows-teilen-ntfs-am-mac/</link>
<pubDate>Mon, 28 Sep 2009 17:31:38 +0000</pubDate>
<dc:creator>Fabio</dc:creator>
<guid>http://apfelblitz.wordpress.com/2009/09/28/festplatte-mit-windows-teilen-ntfs-am-mac/</guid>
<description><![CDATA[An sich hat man ja keinen Grund NTFS am Mac zu benutzen, gibt es doch weitaus bessere Filesysteme. W]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>An sich hat man ja keinen Grund NTFS am Mac zu benutzen, gibt es doch weitaus bessere Filesysteme.</p>
<p>Wenn man allerdings Festplatten mit Windows Nutzern teilen möchte, und nicht von der 4GB Grenze eingeschränkt werden möchte, dann führt kaum ein weg daran vorbei. Vor allem haben ja so gut wie alle XP und Vista Installationen NTFS laufen und wenn man mal auf die Windows Festplatte zugreifen muss, bleibt einem keine andere Möglichkeit also um NTFS zu nutzen. Also vor allem beim Umstieg von Windows auf Mac sehr brauchbar um seine Daten rüber zu kopieren.</p>
<p>Nun ist es kein Problem das NTFS nicht beim Mac OS mitgeliefert wird, denn es gibt gleich diverse funktionierende Lösungen.</p>
<p><strong>Snow Leopard NTFS</strong></p>
<p><strong><img class="alignnone size-full wp-image-534" title="Bildschirmfoto 2009-09-28 um 19.21.50" src="http://apfelblitz.wordpress.com/files/2009/09/bildschirmfoto-2009-09-28-um-19-21-50.png" alt="Bildschirmfoto 2009-09-28 um 19.21.50" width="396" height="72" /></strong></p>
<p>Die einfachste Möglichkeit für Snow Leopard Nutzer ist es die mitgelieferte NTFS Unterstützung zu aktivieren. Also kommt doch NTFS gleich mit dem aktuellen Mac OS mit, ist aber wohl aus lizenztechnischen oder Support-Gründen deaktivert.</p>
<p>Um die Schreibfunktion zu aktivieren bedarf es einiger Änderungen im Mountscript. <a href="http://macattack.speedesign.de/" target="_blank">Mac Attack</a> bietet diese gleich fertig als Download an:</p>
<p><a href="http://macattack.speedesign.de/2009/09/20/ntfs-unter-snow-leopard-ohne-zusatzprogramme/" target="_blank">http://macattack.speedesign.de/2009/09/20/ntfs-unter-snow-leopard-ohne-zusatzprogramme/</a></p>
<p><strong>NTFS-3G</strong></p>
<p><strong><img class="alignnone size-full wp-image-532" title="ntfs-3g-logo" src="http://apfelblitz.wordpress.com/files/2009/09/ntfs-3g-logo.png" alt="ntfs-3g-logo" width="160" height="61" /></strong></p>
<p>NTFS-3G ist der NTFS Treiber für das Fuse: Filesystem in Userspace &#8211; Framework. Dieses Framework ermöglicht es verschiedene Filesysteme einfach in ein System einzubinden und es wurde unter Linux ins Leben gerufen. So kann man neben NTFS diverse Filesystem Treiber herunter laden und einbinden. Bei vorheringen NTFS-3G Versionen musste man erst Fuse und dann einzeln den NTFS Treiber installieren. Die aktuelle Version nimmt einem diese Arbeit ab und installiert das aktuelle Fuse gleich mit. Im Gegensatz zur ersten Lösung läuft diese und die folgenden nicht nur unter Snow Leopard.</p>
<p><a href="http://www.ntfs-3g.org/" target="_blank">http://www.ntfs-3g.org/</a></p>
<p><a href="http://macntfs-3g.blogspot.com/" target="_blank">http://macntfs-3g.blogspot.com/</a></p>
<p><a href="http://code.google.com/p/macfuse/" target="_blank">http://code.google.com/p/macfuse/</a></p>
<p><strong>NTFS-3G kommerziell</strong></p>
<p><strong><img class="alignnone size-full wp-image-535" title="Bildschirmfoto 2009-09-28 um 19.23.41" src="http://apfelblitz.wordpress.com/files/2009/09/bildschirmfoto-2009-09-28-um-19-23-41.png" alt="Bildschirmfoto 2009-09-28 um 19.23.41" width="232" height="57" /></strong></p>
<p>Von Tuxera gibt es auch eine kommerzielle Variante von NTFS-3G. Diese soll laut Internetseite ab September auch für den Mac erhältlich werden. Was dann genau die Vorteile/Unterschiede sind kann ich euch jetzt auch nicht sagen. Vermutlich schon mal kommerzieller Support.</p>
<p><a href="http://www.tuxera.com/products/tuxera-ntfs-for-mac/" target="_blank">http://www.tuxera.com/products/tuxera-ntfs-for-mac/</a></p>
<p><strong>Paragon NTFS für Mac</strong></p>
<p><strong><img class="alignnone size-full wp-image-533" title="paragon logo" src="http://apfelblitz.wordpress.com/files/2009/09/logo.gif" alt="paragon logo" width="177" height="63" /></strong></p>
<p>Paragon mit NTFS für Mac ein kommerzielles Komplettpaket an. Das Paket kostet 29,95 €.</p>
<p><a href="http://www.paragon-software.com/de/home/ntfs-mac/" target="_blank">http://www.paragon-software.com/de/home/ntfs-mac/</a></p>
<p>Alle Pakete sollen brauchbar und einwandfrei laufen. Selbst laufen habe ich nur NTFS 3G, weil dieses nie Probleme bereitet hat und ich seit dem Umzug von Windows auf Mac auch kein NTFS Datenträger mehr genutzt habe am Mac. In einigen Foren habe ich allerdings über eventuelle Probleme bei professionellen oder intensiven Anwendungen gelesen. Aber dazu kann ich so schlecht etwas sagen, und ich würde sowieso keine NTFS Festplatte als Produktivplatte am Mac einsetzen. Dazu eignen sich die Mac eigenen Filesysteme sicher besser.</p>
<p>Prinzipiell hatte ich NTFS schon von Anfang an auf meinem Mac laufen. Auf die Idee gebracht doch noch drüber zu Bloggen hat mich ein entsprechender <a href="http://freewareosx.wordpress.com/2009/09/14/ntfs-3g-windows-dateisystem-am-mac/" target="_blank">Beitrag</a> bei <a href="http://freewareosx.wordpress.com" target="_blank">OS X Freeware</a>. Danke dafür. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[What is FAT File System?]]></title>
<link>http://fatfilesystem.wordpress.com/2009/09/25/what-is-fat-file-system/</link>
<pubDate>Fri, 25 Sep 2009 10:10:38 +0000</pubDate>
<dc:creator>fatfilesystem</dc:creator>
<guid>http://fatfilesystem.wordpress.com/2009/09/25/what-is-fat-file-system/</guid>
<description><![CDATA[The FAT file system (FAT FS) enables the inserting developer from Zeeis to easily and integrates MS-]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>The FAT file system (FAT FS) enables the inserting developer from Zeeis to easily and integrates MS-DOS or the window compatible <a title="FAT File System" href="http://www.zeeis.com/fat-file-system/" target="_self"><strong>FAT file system</strong></a> using the nature mutually and all main operating system all equipment rapidly. It tested the use in several true time operating system and the canned food not to have RTOS. This high performance source code was the minimum memory consumption in RAM and ROM optimal, was cheap and is high speed.<br />
In 2008, the Zeeis FAT file system product shipped the completely successful 25,000,000 equipment, is the leading filing system product for mobile, the electrical appliances and the storage application.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[MAC[B]orned! (Hello World)]]></title>
<link>http://foren6.wordpress.com/2009/09/19/mactimes/</link>
<pubDate>Sat, 19 Sep 2009 22:01:46 +0000</pubDate>
<dc:creator>foren6</dc:creator>
<guid>http://foren6.wordpress.com/2009/09/19/mactimes/</guid>
<description><![CDATA[A fim de iniciar os textos sobre o &#8216;forencês&#8217; ou forensics deste blog, começo com um tem]]></description>
<content:encoded><![CDATA[A fim de iniciar os textos sobre o &#8216;forencês&#8217; ou forensics deste blog, começo com um tem]]></content:encoded>
</item>
<item>
<title><![CDATA[R12 FileSystem Architecture ]]></title>
<link>http://learnwithme11g.wordpress.com/2009/09/19/r12-filesystem-architecture/</link>
<pubDate>Sat, 19 Sep 2009 16:39:53 +0000</pubDate>
<dc:creator>learnwithme11g</dc:creator>
<guid>http://learnwithme11g.wordpress.com/2009/09/19/r12-filesystem-architecture/</guid>
<description><![CDATA[R12 FileSystem Architecture The new file system enables Oracle Applications files to be placed into ]]></description>
<content:encoded><![CDATA[R12 FileSystem Architecture The new file system enables Oracle Applications files to be placed into ]]></content:encoded>
</item>

</channel>
</rss>
