pi@raspberrypi:~$ sudo /sbin/fdisk /dev/mmcblk0 Command (m for help): p Disk /dev/mmcblk0: 16.0 GB, 16012804096 bytes 4 heads, 16 sectors/track, 488672 cylinders, total 31275008 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00092fac Device Boot Start End Blocks Id System /dev/mmcblk0p1 8192 122879 57344 c W95 FAT32 (LBA) /dev/mmcblk0p2 122880 16900095 8388608 83 Linux Command (m for help): n Partition type: p primary (2 primary, 0 extended, 2 free) e extended Select (default p): Using default response p Partition number (1-4, default 3): Using default value 3 First sector (2048-31275007, default 2048): 16900096 Last sector, +sectors or +size{K,M,G} (16900096-31275007, default 31275007): +2G Command (m for help): p Disk /dev/mmcblk0: 16.0 GB, 16012804096 bytes 4 heads, 16 sectors/track, 488672 cylinders, total 31275008 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00092fac Device Boot Start End Blocks Id System /dev/mmcblk0p1 8192 122879 57344 c W95 FAT32 (LBA) /dev/mmcblk0p2 122880 16900095 8388608 83 Linux /dev/mmcblk0p3 16900096 21094399 2097152 83 Linux Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) Syncing disks. **************************************************************** pi@raspberrypi:~$ sudo mkdir /mnt/playpen pi@raspberrypi:~$ sudo mkfs -t ext4 /dev/mmcblk0p3 mke2fs 1.42.5 (29-Jul-2012) Discarding device blocks: done Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 131072 inodes, 524288 blocks 26214 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=536870912 16 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912 Allocating group tables: done Writing inode tables: done Creating journal (16384 blocks): done Writing superblocks and filesystem accounting information: done pi@raspberrypi:~$ sudo -i root@raspberrypi:~# cat >> /etc/fstab /dev/mmcblk0p3 /mnt/playpen ext4 acl,noatime 0 2 root@raspberrypi:~# cat /etc/fstab proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults 0 2 /dev/mmcblk0p2 / ext4 defaults,noatime 0 1 # a swapfile is not a swap partition, so no using swapon|off from here on, use dphys-swapfile swap[on|off] for that /dev/mmcblk0p3 /mnt/playpen ext4 acl,noatime 0 2 root@raspberrypi:~# mount /mnt/playpen root@raspberrypi:~# apt-get install acl ................................................................ root@raspberrypi:~# chown pi /mnt/playpen/ root@raspberrypi:~# logout pi@raspberrypi:~$ cd /mnt/playpen pi@raspberrypi:/mnt/playpen$ touch fileX pi@raspberrypi:/mnt/playpen$ ls -l fileX -rw-r--r-- 1 pi pi 0 Apr 21 13:01 fileX pi@raspberrypi:/mnt/playpen$ setfacl -m u:ntp:rwx /mnt/playpen/fileX pi@raspberrypi:/mnt/playpen$ ls -l fileX -rw-rwxr--+ 1 pi pi 0 Apr 21 13:01 fileX pi@raspberrypi:/mnt/playpen$ getfacl /mnt/playpen/fileX getfacl: Removing leading '/' from absolute path names # file: mnt/playpen/fileX # owner: pi # group: pi user::rw- user:ntp:rwx group::r-- mask::rwx other::r--