Sponsored Content
Full Discussion: flar on linux???
Operating Systems Solaris flar on linux??? Post 302476800 by DGPickett on Thursday 2nd of December 2010 03:40:14 PM
Old 12-02-2010
So, is a flar more than a copy of a file tree? Are there magic files in there from raw devices or the like?
 

9 More Discussions You Might Find Interesting

1. Solaris

Flar Images

I once found a document on the web describing how to build partition flar images instead of having just the one large one. I have managed this but am having problems extracting the subsequent flar archives. I ahve built the system from a jumpstart server and now need to add the program images etc... (0 Replies)
Discussion started by: 58fairlane
0 Replies

2. Solaris

unable to create flar

Hello friend, Now i'm doing JDS3.1 in v440 servers.while checking the lustatus command getiing out like this lustatus Boot Environment Is Active Active Can Copy Name Complete Now On Reboot Delete Status -------------------------- --------... (0 Replies)
Discussion started by: rjay.com
0 Replies

3. Solaris

Jumpstart / Flar problems Solaris 10 8/07

Hi, Im trying to make a jumpstart dvd using an flar archive. I have done this before on earlier releases of Solaris 10 (Sparc). Im now trying to do the same with the 8/07 release.. Problem : After the server is installed (during first boot ) the Select keyboard layout dialog appears. I... (5 Replies)
Discussion started by: s93366
5 Replies

4. Solaris

Jumpstart with flars: looking for /tmp/flar

I'm a little stumped here. If anyone has seen this, please point me in the right direction Little background first: I maintain a Solaris corporate build, currently based on Solaris 10u4 (08/07). This build is deployed using flars through jumpstart, wanboot, and jumpstart DVD. In the lab, I have... (1 Reply)
Discussion started by: System Shock
1 Replies

5. Solaris

FLAR Tape Backup/Restore

I have a T2000 server that is JumpStarted with Solaris 10 from the JumpStart server. Host name and IP address is changed after that. Then we backup the server using FLAR to tape: root.damas# date; flarcreate -c -t -n "Sol10_cairo_image" -a "engineering@starsolutions.com" -R / /dev/rmt/0n ;... (2 Replies)
Discussion started by: StarSol
2 Replies

6. Solaris

"flar create" produces a tiny flar image of rpool

Hi, can someone help with the following? I got 1x146GB disk which is span by just one zfs rpool. When issue for example: as you can see in above output the flar is very small, just around 10KB rpool with all data sets has several GB so this can't be good image. This is on the Solaris 10... (3 Replies)
Discussion started by: TomSu
3 Replies

7. Solaris

Solaris 8 Flar Creation/Restore

I'm new to utilizing Solaris... especially the old 8 version, but I'm trying to find out if there is a way to create a Flash Archive of a disk that can be restored on a smaller size disk or disk of varying size? (2 Replies)
Discussion started by: scifi_vixen
2 Replies

8. Solaris

Install using a ZFS FLAR on x86

Hi, Been rattling my brain on this one, trying to install multiple systems using the FLASH method from a cdrom booted image s10u10, with flar image hosted on a FTP server.. System installs fine with traditional install, and can use the flash procedure using ufs image but not zfs filesystem.... (4 Replies)
Discussion started by: gt71027
4 Replies

9. Solaris

Using flar

Hi I have systems running UFS and ZFS file system type, and I need to create images of them ( in HP-UX ) we call it ignite, but in my case I dont have tape drives attached to the servers. I have read about flar archives, but the do I have to create those images in single user mode or using the... (8 Replies)
Discussion started by: fretagi
8 Replies
CNMAGIC(9)						   BSD Kernel Developer's Manual						CNMAGIC(9)

NAME
cn_init_magic, cn_trap, cn_isconsole, cn_check_magic, cn_destroy_magic, cn_set_magic, cn_get_magic -- console magic key sequence management SYNOPSIS
#include <sys/systm.h> void cn_init_magic(cnm_state_t *cnms); void cn_trap(); int cn_isconsole(dev_t dev); void cn_check_magic(dev_t dev, int k, cnm_state_t *cnms); void cn_destroy_magic(cnm_state_t *cnms); int cn_set_magic(char *magic); int cn_get_magic(char *magic, int len); DESCRIPTION
The NetBSD console magic key sequence management framework is designed to provide flexible methods to set, change, and detect magic key sequences on console devices and break into the debugger or ROM monitor with a minimum of interrupt latency. Drivers that generate console input should make use of these routines. A different cnm_state_t should be used for each separate input stream. Multiple devices that share the same input stream, such as USB keyboards can share the same cnm_state_t. Once a cnm_state_t is allocated, it should be initialized with cn_init_magic() so it can be used by cn_check_magic(). If a driver thinks it might be the console input device it can set the magic sequence with cn_set_magic() to any arbitrary string. Whenever the driver receives input, it should call cn_check_magic() to process the data and determine whether the magic sequence has been hit. The magic key sequence can be accessed through the hw.cnmagic sysctl variable. This is the raw data and may be keycodes rather than pro- cessed characters, depending on the console device. FUNCTIONS
The following functions describe the console magic interface. cn_init_magic(cnm) Initialize the console magic state pointed to by cnm to a usable state. cn_trap() Trap into the kernel debugger or ROM monitor. By default this routine is defined to be console_debugger() but can be overridden in MI header files. cn_isconsole(dev) Determine whether a given dev is the system console. This macro tests to see if dev is the same as cn_tab->cn_dev but can be over- ridden in MI header files. cn_check_magic(dev, k, cnms) All input should be passed through cn_check_magic() so the state machine remains in a consistent state. cn_check_magic() calls cn_isconsole() with dev to determine if this is the console. If that returns true then it runs the input value k through the state machine. If the state machine completes a match of the current console magic sequence cn_trap() is called. Some input may need to be translated to state machine values such as the serial line BREAK sequence. cn_destroy_magic(cnms) This should be called once what cnms points to is no longer needed. cn_set_magic(magic) cn_set_magic() encodes a nul terminated string arbitrary string into values that can be used by the state machine and installs it as the global magic sequence. The escape sequence is character value 0x27 and can be used to encode special values: 0x27 The literal value 0x27. 0x01 Serial BREAK sequence. 0x02 Nul character. Returns 0 on success or a non-zero error value. cn_get_magic(magic, len) Extract the current magic sequence from the state machine and return up to len bytes of it in the buffer pointed to by magic. It uses the same encoding accepted by cn_set_magic(). Returns 0 on success or a non-zero error value. SEE ALSO
sysctl(8), cons(9) HISTORY
The NetBSD console magic key sequence management framework first appeared in NetBSD 1.6. AUTHORS
The NetBSD console magic key sequence management framework was designed and implemented by Eduardo Horvath <eeh@NetBSD.org>. BSD
June 8, 2010 BSD
All times are GMT -4. The time now is 10:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy