1.Frist you run sudo fdisk -l
you get something like this
Device Boot Start End Blocks Id System
/dev/sda1 1 1275 10241406 83 Linux
/dev/sda2 1276 28219 216427680 f W95 Ext'd (LBA)
/dev/sda3 * 28220 30514 18434587+ 7 HPFS/NTFS
/dev/sda5 1276 27964 214379361 7 HPFS/NTFS
/dev/sda6 27965 28219 2048256 82 Linux swap / Solaris
2. just in case something is wrong create backup
sudo cp /etc/fstab /etc/fstab_backup
3.Create a new directory to mount the partition to:
sudo mkdir /mnt/partitioname
4. Write this line at the end of file
/dev/sda5 /media/sda5 ntfs-3g defaults,nls=utf8,umask=000 0 1
ntfs-3g of ntfs-3g
ntfs for ntfs
vfat for fat32
The past 2015 has been very eventful year for me on both professional and private plan. I got married, moved to Sweden, started working f...
It is always tempting to add custom attributes in HTML so that you can use the data stored there to do X. But if you do that there is no w...
Spring Rest Templates are very good way of writing REST clients. By default they work with basic HTTP so if we need to use Basic Authoriza...
Guava Some time ago I did a short talk on Google Guava for our local JUG. It was a basic intro into Guava and how it makes stuff simple...
HttpClient is one of the most versatile Java libraries. Unfortunately, it comes with a lot of configuration options that may be way too cr...
Sometimes we want to create a temporary file, whether to save some data that gets written by some other application or just to temporary s...