파일 : E:\ghcstop\AESOP_ghcstop_doc\usb_gadget\S3C2410_S3C2440_2.6.13_usb_gadget_howto.txt , 2:30:10 오후

Size: px
Start display at page:

Download "파일 : E:\ghcstop\AESOP_ghcstop_doc\usb_gadget\S3C2410_S3C2440_2.6.13_usb_gadget_howto.txt , 2:30:10 오후"

Transcription

1 linux kernel usb le-storage gadget howto godori<ghcstop@gmail.com> usb_gadget_1.txt 파일을수정한것이다. 참고할것. * usb le-storage gadget 이란 usb device 를가지고있는 cpu 혹은장비의 usb device를이용하여 usb host 에연결하여 mass storage 형태로사용할수있도록만든것이다. * usb device controller 의기능을구현하게되면, 그위에 le-storage gadget, usb ethernet gadget 등을올려서 usb device 를 mass storage, usb ethernet(windows 쪽에서는 RNDIS driver 이용) 으로사용할수있다. * 현재는 usb mass storage 로만테스트해봤으나, usb ethernet 도같은드라이버이므로큰상관이없을거라고보여진다. 내 pc 가 windows 2000 이라 RNDIS driver 설치도귀찮아서... 그냥테스트는안했음...^^( windows XP 의경우 linux.inf 라는 driver 정보파일만있으면바로등록이가능하다.) 가. host 에서의작업(root lesystem 디렉토리서작업을해야한다. 1. backing_le 만들기(64M 짜리) 32M 짜리일경우는 dd 명령을내릴때 count 를 32 로 fdisk 시실린더를 512로 root lesystem root 디렉토리가 /scratchbox/users/aesop/targets/aesop 일경우 cd /scratchbox/users/aesop/targets/aesop/root mkdir data cd data dd bs=1m count=64 if=/dev/zero of=./backing_le fdisk./backing_le 여기서부터는 fdisk 명령이다. 좀어렵기는하나그냥쳐보면별로어렵지는않다. - 파티션을확인한다. 당연히암것도없겠지요. Command (m for help): x Expert command (m for help): s Number of sectors (1-63, default 63): 8 Warning: setting sector offset for DOS compatiblity Expert command (m for help): h Number of heads (1-256, default 255): 16 Expert command (m for help): c Number of cylinders ( ): 1024 Expert command (m for help): r - 다시확인을한다. 16 heads, 8 sectors/track, 1024 cylinders Units = cylinders of 128 * 512 = bytes Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 - 여기서는그냥엔터를친다. First cylinder (1-1024, default 1): Using default value 1 - 여기서도그냥엔터를친다. Last cylinder or +size or +sizem or +sizek (1-1024, default 1024): Using default value 1024 페이지 : 1

2 Command (m for help): t Selected partition 1 Hex code (type L to list codes): L 0 Empty 1c Hidden W95 FAT3 70 DiskSecure Mult bb Boot Wizard hid 1 FAT12 1e Hidden W95 FAT1 75 PC/IX be Solaris boot 2 XENIX root 24 NEC DOS 80 Old Minix c1 DRDOS/sec (FAT- 3 XENIX usr 39 Plan 9 81 Minix / old Lin c4 DRDOS/sec (FAT- 4 FAT16 <32M 3c PartitionMagic 82 Linux swap c6 DRDOS/sec (FAT- 5 Extended 40 Venix Linux c7 Syrinx 6 FAT16 41 PPC PReP Boot 84 OS/2 hidden C: da Non-FS data 7 HPFS/NTFS 42 SFS 85 Linux extended db CP/M / CTOS /. 8 AIX 4d QNX4.x 86 NTFS volume set de Dell Utility 9 AIX bootable 4e QNX4.x 2nd part 87 NTFS volume set df BootIt a OS/2 Boot Manag 4f QNX4.x 3rd part 8e Linux LVM e1 DOS access b W95 FAT32 50 OnTrack DM 93 Amoeba e3 DOS R/O c W95 FAT32 (LBA) 51 OnTrack DM6 Aux 94 Amoeba BBT e4 SpeedStor e W95 FAT16 (LBA) 52 CP/M 9f BSD/OS eb BeOS fs f W95 Ext'd (LBA) 53 OnTrack DM6 Aux a0 IBM Thinkpad hi ee EFI GPT 10 OPUS 54 OnTrackDM6 a5 FreeBSD ef EFI (FAT-12/16/ 11 Hidden FAT12 55 EZ-Drive a6 OpenBSD f0 Linux/PA-RISC b 12 Compaq diagnost 56 Golden Bow a7 NeXTSTEP f1 SpeedStor 14 Hidden FAT16 <3 5c Priam Edisk a8 Darwin UFS f4 SpeedStor 16 Hidden FAT16 61 SpeedStor a9 NetBSD f2 DOS secondary 17 Hidden HPFS/NTF 63 GNU HURD or Sys ab Darwin boot fd Linux raid auto 18 AST SmartSleep 64 Novell Netware b7 BSDI fs fe LANstep 1b Hidden W95 FAT3 65 Novell Netware b8 BSDI swap ff BBT Hex code (type L to list codes): b Changed system type of partition 1 to b (W95 FAT32) 16 heads, 8 sectors/track, 1024 cylinders Units = cylinders of 128 * 512 = bytes./backing_le b W95 FAT32 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 25: Inappropriate ioctl for device. The kernel still uses the old table. The new table will be used at the next reboot. WARNING: If you have created or modied any DOS 6.x partitions, please see the fdisk manual page for additional information. Syncing disks. [root@aesopdev data]# ls -al total drwxr-xr-x 2 root root 4096 Oct 21 18:06. drwxrwxr-x 5 root root 4096 Oct 21 18:04.. -rw-r--r-- 1 root root Oct 21 18:09 backing_le [root@aesopdev data]# fdisk -lu./backing_le You must set cylinders. You can do this from the extra functions menu. 16 heads, 8 sectors/track, 0 cylinders, total 0 sectors Units = sectors of 1 * 512 = 512 bytes./backing_le b W95 FAT32 나. dosfsutil 을설치한다. 페이지 : 2

3 - 여기서는 cross compile 을하였다. scratchbox 의경우는바꿀필요없이 native 방식으로컴파일하면된다. - dosfstools-2.10.tar.gz 을받아와서압축을푼다. - Makele 을다음과같이고친다. # # Makele for dosfstools (mkdosfs and dosfsck) # CC = arm-linux-gcc CPP = $(CC) -E OPTFLAGS = -O2 -fomit-frame-pointer WARNFLAGS = -Wall DEBUGFLAGS = CFLAGS = $(OPTFLAGS) $(WARNFLAGS) $(DEBUGFLAGS) LDFLAGS = PREFIX = /scratchbox/users/aesop/targets/aesop SBINDIR = $(PREFIX)/sbin MANDIR = $(PREFIX)/usr/man/man8.PHONY: clean distclean install depend.export_all_variables: all dep clean install: $(MAKE) -C mkdosfs $@ $(MAKE) -C dosfsck $@ distclean: $(MAKE) -C mkdosfs $@ $(MAKE) -C dosfsck $@ rm -f TAGS.#*.new* \#*# *~ TAGS: etags -d -T `nd. -name '*.[ch]'` dist: binary tar tar: distclean cd..; \ mv $$name $$namev; \ tar cf $$namev.src.tar `nd $$namev \( -name CVS -o -path $$namev/debian \) -prune -o! -type d -print`; \ gzip -9f $$namev.src.tar; \ mv $$namev $$name binary: all doit=""; [ root = "`whoami`" ] doit=sudo; $$doit $(MAKE) binary-sub cd tmp; \ arch=`uname -m sed 's/i.86/i386/'`; \ nameva=$$namev.$$arch.tar; \ tar cf../../$$nameva * ; \ gzip -9f../../$$nameva doit=""; [ root = "`whoami`" ] doit=sudo; $$doit rm -rf tmp root = "`whoami`" ] (echo "Must be root for this!"; exit 1) mkdir -p tmp/$(sbindir) tmp/$(mandir) $(MAKE) install PREFIX=$(shell pwd)/tmp # usage: make diff OLDVER=<last-release-number> [ "x$(oldver)" = "x" ]; then \ echo "Usage: make diff OLDVER=<last-release-number>"; \ ; \ cvs diff -u -rrelease-$(oldver) >../$$namev.diff; \ gzip -9f../$$namev.diff 페이지 : 3

4 # usage: make release VER=<release-number> [ "x$(ver)" = "x" ]; then \ echo "Usage: make release VER=<release-number>"; \ if [ -d CVS ]; then \ modied=`cvs status 2>/dev/null awk '/Status:/ { if ($$4!= "Up-to-date") print $$2 }'`; \ if [ "x$$modied"!= "x" ]; then \ echo "There are modied les: $$modied"; \ echo "Commit rst"; \ ; \ sed "/VERSION/s/\".*\"/\"$(VER)\"/" <version.h >version.h.tmp date="`date +'%d %b %Y'`"; sed "/VERSION_DATE/s/\".*\"/\"$$date\"/" <version.h.tmp >version.h rm version.h.tmp if [ -d CVS ]; then \ cvs commit -m"raised version to $(VER)" version.h; \ cvs tag -c -F RELEASE-`echo $(VER) sed 's/\./-/g'`; \ - make - make install 다. target board에서 // 앞의 4K 의경우는아마도완충용인것같음... 쩝 Ignore the bogus data at the top and concentrate on the table at the bottom. The number you want is the value in the "Start" column. It gives the offset in sectors; to convert to bytes you must multiply by 512. So we see that the offset is 8 x 512 = 4096 bytes. You use the losetup program to set up the loop device driver with the proper offset: 이세개의명령을가지고제대로파일이 dos 형태의 image le 인지검사를한다. - /dev/loop/0 와 dos lesystem 으로 fdisk 되어있는이미지파일을연결한다. # losetup -o 4096 /dev/loop/0 /root/data/backing_le - dosfs 로포맷한다. # mkdosfs /dev/loop/0 - 마운트해본다. # mount -t vfat /dev/loop/0 /mnt/gadget Now you can transfer les back and forth to your heart's content! When you're done, be sure to unmount and detach the loop device: - 확인해본다. # cd /mnt/gadget # ls -al * - unmount 를한다. # umount /dev/loop/0 - loopback device 와 backing_le 과의연결을뗀다. 뭐, ioctl 에러가난다. 원래 umount 하면자동으로떼어지는듯 #losetup -d /dev/loop/0 여기까지는테스트완료 라. 보드재부팅후 gadget 테스트 페이지 : 4

5 타겟보드에서 insmod g_le_storage le=/root/data/backing_le 이렇게한후 pc 랑연결한다. 연결을하게되면 pc 에서 usb mass storage 로인식한다. 데이터를복사한후( 단, 만든 backing_le 용량보다작게넣어야겠지용) windows 에서 usb 의연결을해제한다. 다시타겟보드에서 losetup -o 4096 /dev/loop/0 /root/data/backing_le mount -t vfat /dev/loop/0 /mnt 이렇게해서확인해보면(ls -al 로) 윈도우즈에서넘긴파일들이넘어가있는것을볼수있다. umount 를하면 losetup -o 했던것도없어진다. 즉, 다시마운트하려면 losetup 을다시해줘야한다. 한꺼번에 losetup -o 4096 /dev/loop/0 /root/data/backing_le;mount -t vfat /dev/loop/0 /mnt 페이지 : 5

jfield Documentation Release 1 Jason Field

jfield Documentation Release 1 Jason Field jfield Documentation Release 1 Jason Field Oct 25, 2017 Contents 1 linux 3 1.1 LVM................................................... 3 1.1.1 Create.............................................. 3 1.1.2

More information

Using iscsi On Debian Lenny (Initiator And Target)

Using iscsi On Debian Lenny (Initiator And Target) By Falko Timme Published: 2009-03-10 20:05 Using iscsi On Debian Lenny (Initiator And Target) Version 1.0 Author: Falko Timme Last edited 02/24/2009 This guide explains how

More information

List of partition identifiers for Pcs

List of partition identifiers for Pcs List of partition identifiers for Pcs ID Name 00 Empty 01 DOS 12-bit FAT 02 XENIX root 03 XENIX /usr 04 DOS 3.0+ 16-bit FAT (up to 32M) 05 DOS 3.3+ Extended Partition 06 DOS 3.31+ 16-bit FAT (over 32M)

More information

o o o o /dev/hdx /dev/sdx fdisk m

o o o o /dev/hdx /dev/sdx fdisk m /dev/sdx /dev/hdx rt@debian:~# fdisk -l Disk /dev/sdb: 8 GiB, 8589934592 bytes, 16777216 sectrs Disk /dev/sda: 10 GiB, 10737418240 bytes, 20971520 sectrs Disklabel type: ds Disk identifier: 0x717aa925

More information

8/19/2010. Computer Forensics File system forensics. Data analysis. Process of analysing data. Different layers of information.

8/19/2010. Computer Forensics File system forensics. Data analysis. Process of analysing data. Different layers of information. Computer Forensics File system forensics Thomas Mundt thm@informatik.uni-rostock.de Data analysis Different layers of information. Application data analysis Swap space analysis File system analysis Database

More information

Operating System. Hanyang University. Hyunmin Yoon Operating System Hanyang University

Operating System. Hanyang University. Hyunmin Yoon Operating System Hanyang University Hyunmin Yoon (fulcanelli86@gmail.com) 2 ubuntu Linux Download https://www.ubuntu.com/download/desktop http://gofile.me/3qiyp/pj6fzmojf 2 3 VMware Workstation Player (optional) Download https://www.vmware.com/products/workstation-player/workstation-player-evaluation.html

More information

Xen Live Migration Of An LVM-Based Virtual Machine With iscsi On Debian Lenny

Xen Live Migration Of An LVM-Based Virtual Machine With iscsi On Debian Lenny By Falko Timme Published: 2009-04-28 18:16 Xen Live Migration Of An LVM-Based Virtual Machine With iscsi On Debian Lenny Version 1.0 Author: Falko Timme Last edited 04/16/2009

More information

A Frame Work for Virtual USB Devices under Linux Environment

A Frame Work for Virtual USB Devices under Linux Environment International Journal of Computer Science and Telecommunications [Volume 1, Issue 1, November 2010] 13 ISSN 2047-3338 A Frame Work for Virtual USB Devices under Linux Environment M. A. Naeem 1 and Rizwan

More information

Xen Cluster Management With Ganeti On Debian Etch

Xen Cluster Management With Ganeti On Debian Etch By Falko Timme Published: 2007-09-16 19:47 Version 1.0 Author: Falko Timme Last edited 09/14/2007 Ganeti is a cluster virtualization management system based on Xen. In this

More information

How To Resize ext3 Partitions Without Losing Data

How To Resize ext3 Partitions Without Losing Data By Falko Timme Published: 2007-01-07 17:12 How To Resize ext3 Partitions Without Losing Data Version 1.0 Author: Falko Timme Last edited 12/31/2006 This article is about

More information

CSN08101 Digital Forensics. Module Leader: Dr Gordon Russell Lecturers: Robert Ludwiniak

CSN08101 Digital Forensics. Module Leader: Dr Gordon Russell Lecturers: Robert Ludwiniak CSN08101 Digital Forensics Lecture 4: System Level Disk Control Module Leader: Dr Gordon Russell Lecturers: Robert Ludwiniak Essential Linux for Forensics You will learn in this lecture: Command Summary:

More information

Managing Linux File Systems

Managing Linux File Systems Managing Linux File Systems 10 CHAPTER In this chapter, you will learn about Managing disk partitions Mounting removable media Backing up data It s time to dig in and really start working with Linux! All

More information

Linux Howtos. Fedora 9 Install (114) CIS Fall Fedora 9 Install (114) Fedora 9 installation with custom partitions.

Linux Howtos. Fedora 9 Install (114) CIS Fall Fedora 9 Install (114) Fedora 9 installation with custom partitions. Linux Howtos Fedora 9 Install (114) CIS 191 - Fall 2008 Fedora 9 Install (114) Fedora 9 installation with custom partitions. Requirements: Fedora 9 DVD ISO files http://iso.linuxquestions.org/ VMWare Server

More information

Section 1. A zseries Linux file system test script

Section 1. A zseries Linux file system test script Section 1. A zseries Linux file tem test script 1.1 Overview I was presented with a question regarding disk space efficiency, small files and block sizes with ext3 file tems on zseries Linux. I decided

More information

*nix Crash Course. Presented by: Virginia Tech Linux / Unix Users Group VTLUUG

*nix Crash Course. Presented by: Virginia Tech Linux / Unix Users Group VTLUUG *nix Crash Course Presented by: Virginia Tech Linux / Unix Users Group VTLUUG Ubuntu LiveCD No information on your hard-drive will be modified. Gives you a working Linux system without having to install

More information

How to increase XenServer virtual machine root or swap partition

How to increase XenServer virtual machine root or swap partition How to increase XenServer virtual machine root or swap partition When doing a standard Linux installation on a XenServer virtual machine, installation process typically allocates all of available virtual

More information

CST8207: GNU/Linux Operating Systems I Lab Nine Disks, Partitions, and File Systems Part 2. Disks, Partitions, and File Systems - Part 2 of 2

CST8207: GNU/Linux Operating Systems I Lab Nine Disks, Partitions, and File Systems Part 2. Disks, Partitions, and File Systems - Part 2 of 2 Student Name: Lab Section: Disks, Partitions, and File Systems - Part 2 of 2 1 Due Date - Upload to Blackboard by 8:30am Monday April 9, 2012 Submit the completed lab to Blackboard following the Rules

More information

Chapter 6. Linux File System

Chapter 6. Linux File System Chapter 6 Linux File System 1 File System File System management how to store informations on storage devices The Hierarchical Structure Types of file Common File system Tasks 2 The Hierarchical Structure

More information

Back Up (And Restore) LVM Partitions With LVM Snapshots

Back Up (And Restore) LVM Partitions With LVM Snapshots By Falko Timme Published: 2007-04-15 13:24 Back Up (And Restore) LVM Partitions With LVM Snapshots Version 1.0 Author: Falko Timme Last edited 04/11/2007 This tutorial shows

More information

Unix System Architecture, File System, and Shell Commands

Unix System Architecture, File System, and Shell Commands Unix System Architecture, File System, and Shell Commands Prof. (Dr.) K.R. Chowdhary, Director COE Email: kr.chowdhary@iitj.ac.in webpage: http://www.krchowdhary.com JIET College of Engineering August

More information

This is Worksheet and Assignment 12. Disks, Partitions, and File Systems

This is Worksheet and Assignment 12. Disks, Partitions, and File Systems This is Worksheet and Assignment 12 This is a combined Worksheet and Assignment.. Quizzes and tests may refer to work done in this Worksheet and Assignment; save your answers. You will use a checking program

More information

Filesystem Hierarchy Operating systems I800 Edmund Laugasson

Filesystem Hierarchy Operating systems I800 Edmund Laugasson Filesystem Hierarchy Operating systems I800 Edmund Laugasson edmund.laugasson@itcollege.ee There has been used materials from Margus Ernits, Katrin Loodus when creating current slides. Current document

More information

Installing Prime Optical

Installing Prime Optical 5 CHAPTER This section describes how to install Cisco Prime Optical 9.8 with an Oracle 11g database. To ensure a successful installation, use the checklist provided in the Installation Scenarios and Checklists,

More information

Providing Traditional Computational Facility through TV SetTop Box (PROTRACTS)

Providing Traditional Computational Facility through TV SetTop Box (PROTRACTS) Providing Traditional Computational Facility through TV SetTop Box (PROTRACTS) Mr. PydalaBhasha #1, Mr.K. Muni Chandra Sekhar #2 1 Assistant Professor, Department of I.T, Sree Vidyanikethan Engineering

More information

Partitioning and Formatting Guide

Partitioning and Formatting Guide Partitioning and Formatting Guide Version 1.2 Date 05-15-2006 Partitioning and Formatting Guide This guide is designed to explain how to setup your drive with the correct partition and format for your

More information

2018/01/30 18:11 1/6 Disks Management HDD Management. Disks must be added before they can be formatted and mounted or configured in a RAID array.

2018/01/30 18:11 1/6 Disks Management HDD Management. Disks must be added before they can be formatted and mounted or configured in a RAID array. 2018/01/30 18:11 1/6 Disks Management HDD Management Disks management Disks must be added before they can be formatted and mounted or configured in a RAID array. All disks that you wish to configure in

More information

CIS-331 Exam 2 Fall 2014 Total of 105 Points. Version 1

CIS-331 Exam 2 Fall 2014 Total of 105 Points. Version 1 Version 1 1. (20 Points) Given the class A network address 119.0.0.0 will be divided into a maximum of 15,900 subnets. a. (5 Points) How many bits will be necessary to address the 15,900 subnets? b. (5

More information

Partitioning Disks with parted

Partitioning Disks with parted Partitioning Disks with parted Author: Yogesh Babar Technical Reviewer: Chris Negus 10/6/2017 Storage devices in Linux (such as hard drives and USB drives) need to be structured in some way before use.

More information

Changing user login password on templates

Changing user login password on templates Changing user login password on templates 1. Attach an ISO via the cloudstack interface and boot the VM to rescue mode. Click on attach iso icon highlighted below: A popup window appears from which select

More information

Partitioning and Formatting Reference Guide

Partitioning and Formatting Reference Guide Partitioning and Formatting Reference Guide This guide provides simple guidelines for the initial setup of your hard disk drive using the most common methods and utilities available within the following

More information

Red Hat Enterprise Linux 6 Server Instruction Guide for Creating Volume in Free Disk Space

Red Hat Enterprise Linux 6 Server Instruction Guide for Creating Volume in Free Disk Space Red Hat Enterprise Linux 6 Server Instruction Guide for Creating Volume in Free Disk Space NEC Express Servers NEC Express5800/ft Series 1st Edition 03-2013 Introduction This document is intended as a

More information

Getting Started with BeagleBoard xm

Getting Started with BeagleBoard xm Getting Started with BeagleBoard xm by Getting Started with BeagleBoard-xM 1. Beagleboard-xM BeagleBoard.org ก Texas Instruments DM3730 1 GHz ก ARM Cortex-A8 (DSP) (PowerVR) (RAM) 512 MB Serial Port, USB

More information

1. Set up the storage to allow access to the LD(s) by the server following the NEC storage user guides.

1. Set up the storage to allow access to the LD(s) by the server following the NEC storage user guides. Overview Server running Red Hat Enterprise Linux (RHEL) must be configured to recognize and work with NEC storage systems. The following procedure demonstrates the steps necessary to configure multipath

More information

Linux Files and the File System

Linux Files and the File System Linux Files and the File System 1. Files a. Overview A simple description of the UNIX system, also applicable to Linux, is this: "On a UNIX system, everything is a file; if something is not a file, it

More information

RG-MACC_2.0 Installation Manual

RG-MACC_2.0 Installation Manual RG-MACC_2.0 Installation Manual Ruijie Networks Co., Ltd all rights reserved 1 Copyright Clarify Copyright ownership belongs to Ruijie, shall not be reproduced, copied, or used in other ways without permission.

More information

Windows Method Using Linux Live CD and Gparted

Windows Method Using Linux Live CD and Gparted Contents 1 Formatting and Partitioning USB Storage for DD-WRT 2 Windows Method Using Linux Live CD and Gparted 2.1 Linux Command Line Method 3 Formatting the /opt, /jffs and Data Partitions, and preparing

More information

Project 3: An Introduction to File Systems. COP 4610 / CGS 5765 Principles of Operating Systems

Project 3: An Introduction to File Systems. COP 4610 / CGS 5765 Principles of Operating Systems Project 3: An Introduction to File Systems COP 4610 / CGS 5765 Principles of Operating Systems Introduction Project 3 learning objectives File system design and implementation File system testing Data

More information

Full file at https://fratstock.eu

Full file at https://fratstock.eu Guide to UNIX Using Linux Fourth Edition Chapter 2 Solutions Answers to the Chapter 2 Review Questions 1. Your company is discussing plans to migrate desktop and laptop users to Linux. One concern raised

More information

File systems and Filesystem quota

File systems and Filesystem quota File systems and Filesystem quota 8.1 Unit objectives After completing this unit, you should be able to: Describe what a file is Describe what a file system is List possible file systems Describe i-nodes

More information

Manage Directories and Files in Linux. Objectives. Understand the Filesystem Hierarchy Standard (FHS)

Manage Directories and Files in Linux. Objectives. Understand the Filesystem Hierarchy Standard (FHS) Manage Directories and Files in Linux Objectives Understand the Filesystem Hierarchy Standard (FHS) Identify File Types in the Linux System Change Directories and List Directory Contents Create and View

More information

CIS-331 Exam 2 Spring 2016 Total of 110 Points Version 1

CIS-331 Exam 2 Spring 2016 Total of 110 Points Version 1 Version 1 1. (20 Points) Given the class A network address 121.0.0.0 will be divided into multiple subnets. a. (5 Points) How many bits will be necessary to address 8,100 subnets? b. (5 Points) What is

More information

Linux System Administration, level 1. Lecture 4: Partitioning and Filesystems Part II: Tools & Methods

Linux System Administration, level 1. Lecture 4: Partitioning and Filesystems Part II: Tools & Methods Linux System Administration, level 1 Lecture 4: Partitioning and Filesystems Part II: Tools & Methods The sequence 1. Create one or more empty partitions 1a. (optional) Arrange them into a RAID or LVM

More information

Project 3: An Introduction to File Systems. COP4610 Florida State University

Project 3: An Introduction to File Systems. COP4610 Florida State University Project 3: An Introduction to File Systems COP4610 Florida State University 1 Introduction The goal of project 3 is to understand basic file system design and implementation file system testing data serialization/de-serialization

More information

Linux File System Study Guide

Linux File System Study Guide Linux File System Study Guide Copyright 1998, 1999 P. Tobin Maginnis This document is free; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the

More information

Week 10 Project 3: An Introduction to File Systems. Classes COP4610 / CGS5765 Florida State University

Week 10 Project 3: An Introduction to File Systems. Classes COP4610 / CGS5765 Florida State University Week 10 Project 3: An Introduction to File Systems Classes COP4610 / CGS5765 Florida State University 1 Introduction The goal of project 3 is to understand basic file system design and implementation file

More information

Tutorial : Confguring a micro SD memory card as both swap and storage area for the DragonBoard 410c (DB410C)

Tutorial : Confguring a micro SD memory card as both swap and storage area for the DragonBoard 410c (DB410C) Tutorial : Confguring a micro SD memory card as both swap and storage area for the DragonBoard 410c (DB410C) [1] Introduction The unboxing experience of the DragonBoard 410c is very enjoyable and straightforward.

More information

How to clone a Linux box using netcat

How to clone a Linux box using netcat How to clone a Linux box using netcat Dr. Emiliano Bruni info@ebruni.it Version 0.01 $Date: 2003/08/22 14:52:15 $ Many times it s necessary to have a clone of a linux box without modifying the original

More information

Disk Imaging with Knoppix

Disk Imaging with Knoppix Introduction This document explains how to use the CD-ROM bootable version of Linux, named Knoppix, to make and restore images of computer hard drives. Knoppix makes a very good system recovery tool for

More information

Chapter 7 File Operations

Chapter 7 File Operations 7.1. File Operation Levels Chapter 7 File Operations File operations consist of five levels, from low to high, as shown in the following hierarchy. (1). Hardware Level: File operations at hardware level

More information

CST Algonquin College 2

CST Algonquin College 2 Partitions Lab due dates: Labs are due as specified usually on Page1 of the Lab document Lab due dates are expressed as: 10 min before the end of the lab period during a certain week There is a grace period

More information

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories Chapter Two Exploring the UNIX File System and File Security Lesson A Understanding Files and Directories 2 Objectives Discuss and explain the UNIX file system Define a UNIX file system partition Use the

More information

Learn Linux, 101: Create partitions and filesystems

Learn Linux, 101: Create partitions and filesystems Learn Linux, 101: Create partitions and filesystems Divide and conquer your disk space Ian Shields January 27, 2016 (First published July 12, 2010) Learn how to create partitions on a disk drive and how

More information

System Administration. Storage Systems

System Administration. Storage Systems System Administration Storage Systems Agenda Storage Devices Partitioning LVM File Systems STORAGE DEVICES Single Disk RAID? RAID Redundant Array of Independent Disks Software vs. Hardware RAID 0, 1,

More information

Hard Disk Organization. Vocabulary

Hard Disk Organization. Vocabulary Hard Disk Organization Vocabulary Platter: one ceramic plate, covered with magnetizable film where the bits are actually stored. Both sides of a platter can be used. Increasing the number of platters is

More information

HOW TO CLONE A LARGE NUMBER OF PCs

HOW TO CLONE A LARGE NUMBER OF PCs HOW TO CLONE A LARGE NUMBER OF PCs András Keszthelyi (Budapest Tech Polytechnical Institution) kea@turul.banki.hu Computer sciences are taught in all kinds of schools from elementary grade to universities

More information

Manually Mount Usb Flash Drive Ubuntu Server

Manually Mount Usb Flash Drive Ubuntu Server Manually Mount Usb Flash Drive Ubuntu 12.04 Server 4 answers, How to access a usb flash drive from the terminal? (How can I mount a flash drive manually?) SSH Commandline - Ubuntu x64 dedicated server

More information

CREATION OF A MINIMAL STAND ALONE RTAI SYSTEM ================================================

CREATION OF A MINIMAL STAND ALONE RTAI SYSTEM ================================================ Requirements :: --------------- CREATION OF A MINIMAL STAND ALONE RTAI SYSTEM ================================================ * I prepared my stand alone RTAI for the following hardware configurations.

More information

CS370 Operating Systems

CS370 Operating Systems CS370 Operating Systems Colorado State University Yashwant K Malaiya Spring 2018 Lecture 22 File Systems Slides based on Text by Silberschatz, Galvin, Gagne Various sources 1 1 Disk Structure Disk can

More information

Upgrading Prime Optical

Upgrading Prime Optical CHAPTER 6 You cannot perform a full upgrade from an earlier Cisco Transport Manager (CTM) or Prime Optical release. This section describes how to use the Cisco Prime Optical 9.8 Data Migrator wizard to

More information

Once your USB drive is formatted for the FAT32 file system it can be mounted and tested on the GESBC To do this, use the following command:

Once your USB drive is formatted for the FAT32 file system it can be mounted and tested on the GESBC To do this, use the following command: GESBC-9302 Development With a USB Drive Paul H. Muller - Documatrix www.documatrix-usa.com ulx@linuxmail.org Disclaimer: The programs and procedures described here have been tested and are thought to be

More information

ECHO Process Instrumentation, Inc. Modbus RS485 Module. Operating Instructions. Version 1.0 June 2010

ECHO Process Instrumentation, Inc. Modbus RS485 Module. Operating Instructions. Version 1.0 June 2010 ECHO Process Instrumentation, Inc. Modbus RS485 Module Operating Instructions Version 1.0 June 2010 ECHO Process Instrumentation, Inc. PO Box 800 Shalimar, FL 32579 PH: 850-609-1300 FX: 850-651-4777 EM:

More information

Linux Howtos. Red Hat 9 and Trouble (116) CIS Fall Red Hat 9 and Trouble (116)

Linux Howtos. Red Hat 9 and Trouble (116) CIS Fall Red Hat 9 and Trouble (116) Linux Howtos Red Hat 9 and Trouble (116) CIS 191 - Fall 2008 Red Hat 9 and Trouble (116) Troubleshoot booting and rooting problems with Jim Griffin s troublemaker. A VM has been created using Red Hat 9

More information

Chapter Two File Systems. CIS 4000 Intro. to Forensic Computing David McDonald, Ph.D.

Chapter Two File Systems. CIS 4000 Intro. to Forensic Computing David McDonald, Ph.D. Chapter Two File Systems CIS 4000 Intro. to Forensic Computing David McDonald, Ph.D. 1 Learning Objectives At the end of this section, you will be able to: Explain the purpose and structure of file systems

More information

Disks, Filesystems 1

Disks, Filesystems 1 Disks, Filesystems 1 sudo and PATH (environment) disks partitioning formatting file systems: mkfs command checking file system integrity: fsck command /etc/fstab mounting file systems: mount command unmounting

More information

CIS-331 Exam 2 Fall 2015 Total of 105 Points Version 1

CIS-331 Exam 2 Fall 2015 Total of 105 Points Version 1 Version 1 1. (20 Points) Given the class A network address 117.0.0.0 will be divided into multiple subnets. a. (5 Points) How many bits will be necessary to address 4,000 subnets? b. (5 Points) What is

More information

MINI-HOWTO backup and/or restore device or partition using zsplit/unzsplit

MINI-HOWTO backup and/or restore device or partition using zsplit/unzsplit MINI-HOWTO backup and/or restore device or partition using zsplit/unzsplit Jurij Ivastsuk-Kienbaum jurij [at] device-image.de Revision History First draft March 14, 2006 This document describes a setup

More information

Cross-compilation with Buildroot

Cross-compilation with Buildroot Instituto Superior de Engenharia do Porto Mestrado em Engenharia Eletrotécnica e de Computadores Arquitetura de Computadores Cross-compilation with Buildroot Introduction Buildroot is a tool that can be

More information

WLAN on DILNetPC DNP9200 External SWAP Device on DNP9200

WLAN on DILNetPC DNP9200 External SWAP Device on DNP9200 WLAN on DILNetPC DNP9200 External SWAP Device on DNP9200 Picture 1: DNP9200 + eval board SK23, external mini USB2.0 Hub with a 11Mbps WLAN USB Adapter and 1GB high speed(192x) USB SWAP device. Attention:

More information

4. Specifications and Additional Information

4. Specifications and Additional Information 4. Specifications and Additional Information AGX52004-1.0 8B/10B Code This section provides information about the data and control codes for Arria GX devices. Code Notation The 8B/10B data and control

More information

Exam Actual. Higher Quality. Better Service! QUESTION & ANSWER

Exam Actual. Higher Quality. Better Service! QUESTION & ANSWER Higher Quality Better Service! Exam Actual QUESTION & ANSWER Accurate study guides, High passing rate! Exam Actual provides update free of charge in one year! http://www.examactual.com Exam : 050-710 Title

More information

Introduction Into Linux Lecture 1 Johannes Werner WS 2017

Introduction Into Linux Lecture 1 Johannes Werner WS 2017 Introduction Into Linux Lecture 1 Johannes Werner WS 2017 Table of contents Introduction Operating systems Command line Programming Take home messages Introduction Lecturers Johannes Werner (j.werner@dkfz-heidelberg.de)

More information

Rebuild Linux and Buildroot for the DCP-SH7785 board

Rebuild Linux and Buildroot for the DCP-SH7785 board 2 Rebuild Linux and Buildroot for the DCP-SH7785 board Contents 2.1.............................................. 1 2.2......................................... 1 2.3 Buildroot.........................................

More information

SCSI RDMA Protocol. Introduction. Configuring SRP CHAPTER

SCSI RDMA Protocol. Introduction. Configuring SRP CHAPTER 4 CHAPTER This chapter describes SCSI RDMA protocol and includes the following sections: Introduction, page 4-1 Configuring SRP, page 4-1 Verifying SRP, page 4-7 See the Root and Non-root Conventions in

More information

Boot Process in details for (X86) Computers

Boot Process in details for (X86) Computers Boot Process in details for (X86) Computers Hello,,, Let's discuss what happens between the time that you power up your PC and when the desktop appears. In fact we should know that the boot process differs

More information

Filesystem Hierarchy and Permissions

Filesystem Hierarchy and Permissions and Linux Prepared by Steven Gordon on 19 April 2017 Common/Reports/linux-file-permissions.tex, r1417 1/15 Multiuser and Server Operating System Linux systems are commonly used as a multi-user system E.g.

More information

File Management 1/34

File Management 1/34 1/34 Learning Objectives system organization and recursive traversal buffering and memory mapping for performance Low-level data structures for implementing filesystems Disk space management for sample

More information

CS370 Operating Systems

CS370 Operating Systems CS370 Operating Systems Colorado State University Yashwant K Malaiya Fall 2017 Lecture 24 File Systems Slides based on Text by Silberschatz, Galvin, Gagne Various sources 1 1 Questions from last time How

More information

Data rate - The data rate is the number of bytes per second that the drive can deliver to the CPU.

Data rate - The data rate is the number of bytes per second that the drive can deliver to the CPU. A+ Guide to Hardware, 4e Chapter 7 Hard Drives Learning from Floppy Drives Floppy drives are an obsolescent technology Replacements: CD drives and USB flash memory Good reasons for studying floppy drive

More information

Getting Started with Pentaho and Cloudera QuickStart VM

Getting Started with Pentaho and Cloudera QuickStart VM Getting Started with Pentaho and Cloudera QuickStart VM This page intentionally left blank. Contents Overview... 1 Before You Begin... 1 Prerequisites... 1 Use Case: Development Sandbox for Pentaho and

More information

Disks, Filesystems, Booting Todd Kelley CST8177 Todd Kelley 1

Disks, Filesystems, Booting Todd Kelley CST8177 Todd Kelley 1 Disks, Filesystems, Booting Todd Kelley kelleyt@algonquincollege.com CST8177 Todd Kelley 1 sudo and PATH (environment) disks partitioning formatting file systems: mkfs command checking file system integrity:

More information

CIS-331 Fall 2013 Exam 1 Name: Total of 120 Points Version 1

CIS-331 Fall 2013 Exam 1 Name: Total of 120 Points Version 1 Version 1 1. (24 Points) Show the routing tables for routers A, B, C, and D. Make sure you account for traffic to the Internet. NOTE: Router E should only be used for Internet traffic. Router A Router

More information

MaRTE OS FAT16 Filesystem

MaRTE OS FAT16 Filesystem Daniel Sangorrin daniel.sangorrin@gmail.com 2009-3-4 Revision History Revision 0.1 2009-2-26 Revised by: dsl first draft Revision 0.2 2009-3-4 Revised by: dsl added Jean-Louis suggestions This document

More information

Idea6410 Ubuntu User Manual V 0.19

Idea6410 Ubuntu User Manual V 0.19 V 0.19 Version: Ubuntu-9.04_v0.19 Linux PC environment: Ubuntu-9.04 1 1. Install Cross-compile 1.1 Open Linux-ubuntu_v0.19\cross_compile\ folder, and copy Arm-none-lunux-gnueabi-arm-2008q3-72-for-linux.tar.bz2

More information

fat ntfs librfs windows 98 ranfs.pdf help

fat ntfs librfs windows 98 ranfs.pdf help rfsh rfsh help version set log time source system mkfs.fat lspart mount umount df ls cat touch dd truncate ltruncate cd lcd pwd lpwd cp mv get put mkdir lmkdir rmdir lrmdir rm lrm open test mdsum exit

More information

Cloning and Repartitioning sessionmgr Disks

Cloning and Repartitioning sessionmgr Disks This chapter describes the steps needed to repartition the sessionmgr disks so that the increased number of subscribers (> 10 million) can be accommodated. Cloning and Disk Repartitioning of Sessionmgr01

More information

RocketRAID 2522 SATA Controller Ubuntu Linux Installation Guide

RocketRAID 2522 SATA Controller Ubuntu Linux Installation Guide RocketRAID 2522 SATA Controller Ubuntu Linux Installation Guide Version 1.0 Copyright 2008 HighPoint Technologies, Inc. All rights reserved. Last updated on February 16, 2009 Table of Contents 1 Overview...1

More information

RocketRAID 231x/230x SATA Controller Fedora Linux Installation Guide

RocketRAID 231x/230x SATA Controller Fedora Linux Installation Guide RocketRAID 231x/230x SATA Controller Fedora Linux Installation Guide Version 1.0 Copyright 2008 HighPoint Technologies, Inc. All rights reserved. Last updated on April 7, 2009 Table of Contents 1 Overview...1

More information

How to add additional disks to XenServer host

How to add additional disks to XenServer host How to add additional disks to XenServer host This article explains how to add physical disk drives to a XenServer host, so that more capacity is available for the XenServer guests. Create Linux LVM partition

More information

Operating Systems Design 12a. Special File Systems

Operating Systems Design 12a. Special File Systems Operating Systems Design 12a. Special File Systems Paul Krzyzanowski pxk@cs.rutgers.edu 3/26/2011 1 Generic Interfaces via VFS VFS gives us a generic interface to file operations We don t need to have

More information

How to Back-Up a fit-pc2 Using Only a USB Stick (and some creative partitioning)

How to Back-Up a fit-pc2 Using Only a USB Stick (and some creative partitioning) This process allows you to back up your fit-pc2 workstation (or any USB-bootable computer) so you can quickly and easily restore your computer to its original state in the event of a hard drive failure,

More information

Enabling DM_Crypt Functionality in SDK release 5.07

Enabling DM_Crypt Functionality in SDK release 5.07 Enabling DM_Crypt Functionality in SDK release 5.07 This document lists steps to enable DM_Crypt functionality in SDK 05.07 Note: This document is intended for use with SDK release 5.07 and Ubuntu 10.04LTS.

More information

NASA Lab. Partition/Filesystem/Bootloader. TinRay, Yu-Chuan

NASA Lab. Partition/Filesystem/Bootloader. TinRay, Yu-Chuan NASA Lab Partition/Filesystem/Bootloader TinRay, Yu-Chuan Agenda Conceptual Storage Structure Bootloader Practical & \Exercise/ Linux Device File Storage Related Commands Boot Related Commands 2 Before

More information

Insight Control Server Provisioning Capturing and Installing SUSE Enterprise Linux 12 System Images

Insight Control Server Provisioning Capturing and Installing SUSE Enterprise Linux 12 System Images Technical white paper Insight Control Server Provisioning Capturing and Installing SUSE Enterprise Linux 12 System Images Table of contents Summary 2 Preparing for image capture 2 Sanitizing server image

More information

FDISK68 / FDISK80 ver. 1.0 of 05-Jun-2015 (1.0 release)

FDISK68 / FDISK80 ver. 1.0 of 05-Jun-2015 (1.0 release) FDISK68 / FDISK80 ver. 1.0 of 05-Jun-2015 (1.0 release) FDISKxx is a work-similar program for the N8VEM systems running any of RomWBW, UNA, or Mini-M68k BIOS. It functions to partition hard disk media,

More information

Linux Essentials. Programming and Data Structures Lab M Tech CS First Year, First Semester

Linux Essentials. Programming and Data Structures Lab M Tech CS First Year, First Semester Linux Essentials Programming and Data Structures Lab M Tech CS First Year, First Semester Adapted from PDS Lab 2014 and 2015 Login, Logout, Password $ ssh mtc16xx@192.168.---.--- $ ssh X mtc16xx@192.168.---.---

More information

Replacing a RazorSafe Hard Drive

Replacing a RazorSafe Hard Drive Replacing a RazorSafe Hard Drive Replacement Part # XRS-750, S-RSHD-01, S-RSHD-02, S-RSHD-03, S-RSHD-04, S-RSHD-05 October 2010 Part Number: 010-00490g This document supports RazorSafe RS150, RS200, RS370,

More information

Outline. Computer Center, CS, NCTU. Interfaces Geometry Add new disks RAID. Appendix SCSI & SAS

Outline. Computer Center, CS, NCTU. Interfaces Geometry Add new disks RAID. Appendix SCSI & SAS Disks Outline Interfaces Geometry Add new disks Installation procedure Filesystem check Add a disk using sysinstall RAID GEOM Appendix SCSI & SAS 2 3 Disk Interfaces SCSI Small Computer Systems Interface

More information

Outline. Computer Center, CS, NCTU. q Interfaces q Geometry q Add new disks. q RAID

Outline. Computer Center, CS, NCTU. q Interfaces q Geometry q Add new disks. q RAID Disks frank Outline q Interfaces q Geometry q Add new disks Installation procedure Filesystem check Add a disk using sysinstall q RAID GEOM ZFS 2 3 Disk Interfaces q SCSI Small Computer Systems Interface

More information

CIS-331 Spring 2016 Exam 1 Name: Total of 109 Points Version 1

CIS-331 Spring 2016 Exam 1 Name: Total of 109 Points Version 1 Version 1 Instructions Write your name on the exam paper. Write your name and version number on the top of the yellow paper. Answer Question 1 on the exam paper. Answer Questions 2-4 on the yellow paper.

More information

As this method focuses on working with LVM, we will first confirm that our partition type is actually Linux LVM by running the below command.

As this method focuses on working with LVM, we will first confirm that our partition type is actually Linux LVM by running the below command. How to Increase the size of a Linux LVM by adding a new disk This post will cover how to increase the disk space for a VMware virtual machine running Linux that is using logical volume manager (LVM). First

More information